Boost logo

Boost Users :

Subject: [Boost-users] Boost UUIDS: string generator is crashing
From: Carla Strembicke (Carla.Strembicke_at_[hidden])
Date: 2010-06-23 16:02:26


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}");

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......

CONFIDENTIAL INFORMATION NOTICE: The information contained in this e-mail is privileged, confidential and intended solely for the use of the addressee named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you received this in error, please contact the sender and destroy all copies of this e-mail. Thank you.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net