Boost logo

Boost :

Subject: Re: [boost] [uuid] proposed fix for windows_generator.hpp
From: Scott McMurray ([hidden])
Date: 2009-07-22 18:37:53

2009/7/22 Christian Leutloff <christian.leutloff_at_[hidden]>:
> I have attached a test case that is showing the difference of the choosen implementationen and the expected one. The expected one was validated using the VS debugger, too.

To save others checking the provided code: Microsoft's GUID class
(which it also calls a UUID) stores the internal values as uint32_t,
uint16_t, uint16_t, uint8_t[8] in native -- little-endian -- byte
order, so the first 3 members need byte order reversing to match the
in-memory format specified by the RFC.

Boost list run by bdawes at, gregod at, cpdaniel at, john at