C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Allow chaining of -> for normal pointers

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sun, 08 Jan 2023 01:04:59 -0300
On Saturday, 7 January 2023 15:52:31 -03 Frederick Virchanza Gotham via Std-
Proposals wrote:
> Was there every any discussion about allowing "->" chaining for pointers?

Not that I've ever seen.

Please give a reason why this should have been considered. And please give a
reason why this should be considered *now* when the current paradigm is to
avoid raw pointers as much as possible and instead use smart pointer wrappers
of one sort or another.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DCAI Cloud Engineering

Received on 2023-01-08 04:05:02