pragma(__ctfe)
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Thu Sep 28 06:02:05 UTC 2023
On 28/09/2023 5:58 PM, Bruce Carneal wrote:
> The assert hack is useful but limited. It will not fail at compile time,
> will not prevent all code/symbol generation, will not enable compile
> time understanding that the function is restricted to use at compile
> time (if that's useful apart from the other ...).
This proposal (should this PR changed to it) would restrict that
function to CTFE only.
More information about the Digitalmars-d
mailing list