Zig vs D generics
Kagamin
spam at here.lot
Mon Oct 10 07:30:38 UTC 2022
>In contrast, C++ code attempting to call non-constexpr functions
>(i.e. functions only accessible at run time) in a constexpr
>context (i.e. functions which are available both at compile time
>and run time) will give an error at the call site.
Eh? So can C++ support an allocator that works both at compile
time and at run time? I use such allocator in my D code so it's
ctfeable.
More information about the Digitalmars-d
mailing list