Andrea Fontana:

Is there any counter-indication with this:

immutable ubyte[5] stub = x"b8 01 4c cd 21".representation;

?

See:
https://issues.dlang.org/show_bug.cgi?id=10454
https://issues.dlang.org/show_bug.cgi?id=5909


Is it a compile time value?

Generally you need module-level values or enums to be sure a value is compile-time. In this case it is probably not.

Bye,
bearophile

Reply via email to