On 10/14/2015 09:25 AM, Trevor Saunders wrote:
I haven't looked at the C++ changes, but I tend to think they mat may be
the language where this is the least useful. I expect it would be
pretty "trivial" to write some wrapper classes that use bswap in
operators so you could say things like struct { uint32_t_be x; }; and
have x stored in big endian. At which point all you are really missing
is a flag to have all struct members work that way, but rewriting all
struct members of type uint32_t to uint32_t_be should be straight
forward.
I've seen this kind of thing come up in other languages, even some not
covered by ACT's work. ACT's work does make supporting the extensions
in those other languages significantly easier.
jeff