
6 Sep
2011
6 Sep
'11
12:44 p.m.
On 06/09/2011 00:38, Phil Endecott wrote:
#elif defined(USE_BEMAN)
const char* s (reinterpret_cast<const char*>(&src)); uint32_t target; char * t (reinterpret_cast<char*>(&target) + sizeof(target) - 1); *t = *s; *--t = *++s; *--t = *++s; *--t = *++s; return target;
Why isn't that just std::reverse?