C++ Logo

std-proposals

Advanced search

Re: [std-proposals] std::chimeric_ptr -- it's alive... it's ALIVE!

From: Thiago Macieira <thiago_at_[hidden]>
Date: Fri, 21 Nov 2025 11:30:41 -0800
On Friday, 21 November 2025 10:06:47 Pacific Standard Time Frederick Virchanza
Gotham via Std-Proposals wrote:
> When you apply the operator -> to an object of type
> 'chimeric_ptr', followed by the name of a member, a search is
> performed through all of the Base classes in order to find the member
> (i.e. you don't need to specifically identify the correct Base class).

So, what you're saying is that it uncrappifies crappily-designed APIs?

I think that people responsible for the crappy APIs should revisit their
design choices in the first place.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel Data Center - Platform & Sys. Eng.

Received on 2025-11-21 19:30:50