C++ Logo

std-proposals

Advanced search

Re: [std-proposals] std::how_many_constructors_after

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sun, 30 Apr 2023 09:21:50 -0700
On Sunday, 30 April 2023 04:24:16 PDT Frederick Virchanza Gotham via Std-
Proposals wrote:
> Before the compiler produces code to create an object, it knows how
> many constructors will be called. The count of 'how many before' and
> 'how many after' could be made available to the programmer. Consider
> the following code:

Motivation missing.

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

Received on 2023-04-30 16:21:51