Hi,
On Wed, 23 Jun 2010 14:02 -0600, "Carla Strembicke"
wrote:
I am using the following in my program for proof of concept.
( This was extracted straight from the documentation)
boost::uuids::string_generator gen;
boost::uuids::uuid u1 =
gen("{01234567-89ab-cdef-0123456789abcdef}");
The problem is a missing dash. The line should read:
boost::uuids::uuid u1 =
gen("{01234567-89ab-cdef-0123-4567890abcdef}");
Note that there are 4 dashes, not 3.
crashing in : template <typename CharIterator>
uuid operator()(CharIterator begin, CharIterator end) const
crashing at : *it_byte = get_value(c)
Is this a bug or am I doing something wrong.
When I remove the dashes it seems to work......
Removing the dashes also works by design.
Regards,
Andy.