Request for Comment assert(__ctfe)
Adam D. Ruppe
destructionator at gmail.com
Tue Apr 7 12:22:46 UTC 2020
On Tuesday, 7 April 2020 at 09:16:34 UTC, Atila Neves wrote:
> On Tuesday, 7 April 2020 at 06:53:18 UTC, Walter Bright wrote:
>> There's no reason the CTFE-only function can't be global.
>
> No, there isn't. But in my experience nearly all functions I
> write that are only ever called from CTFE returning a string to
> be mixed in are private.
I've done it both ways. If it can be accomplished easily enough
might as well support both equally.
More information about the Digitalmars-d
mailing list