First Draft: Placement New Expression

Paul Backus snarwin at gmail.com
Fri Nov 1 20:02:38 UTC 2024


On Friday, 1 November 2024 at 19:56:04 UTC, Walter Bright wrote:
> On 10/30/2024 11:33 PM, Richard (Rikki) Andrew Cattermole wrote:
>> We need a CTFE'able solution to this, for that argument to 
>> hold.
>
> Currently, there isn't a compile time solution for the 
> allocated size of a class object.

__traits(classInstanceSize, T) works at compile time.


More information about the dip.development mailing list