Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost UUIDS: string generator is crashing
From: Andy Tompkins (atompkins_at_[hidden])
Date: 2010-07-05 20:50:06


On Wed, 23 Jun 2010 14:02 -0600, "Carla Strembicke"
<Carla.Strembicke_at_[hidden]> 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 =

The problem is a missing dash. The line should read:
boost::uuids::uuid u1 =
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.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at