How to translate this C++ preprocessor declaration in D?

bearophile bearophileHUGS at lycos.com
Fri May 24 18:51:00 PDT 2013


Ali Çehreli:

> If the multi-character literals are evaluated big-endian as 
> Luís Marques and I guess, then you can use the following code:

Also, D defines version(BigEndian) and version(LittleEndian).

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list