std.digest

Stefan Koch uplink.coder at googlemail.com
Thu Nov 22 13:05:42 UTC 2018


On Wednesday, 17 October 2018 at 09:43:16 UTC, rikki cattermole 
wrote:
> It uses a union, that is why it doesn't work at CTFE. Hopefully 
> newCTFE can solve that one.

unions work at ctfe.
it's type punning using unions which does not work.
And there are no plans to support that at newCTFE, since it 
invokes platform-dependent behavior.

It is a pretty bad idea include non-standardized 
platform-dependent-behavior when forming literals.


More information about the Digitalmars-d mailing list