|
Boost Users : |
Subject: [Boost-users] boost.uuid typo error
From: niXman (i.nixman_at_[hidden])
Date: 2011-11-21 11:33:55
Hello list!
In the docmantation for boost.uuid on this link:
http://www.boost.org/doc/libs/1_48_0/libs/uuid/uuid.html#Stream_operators
in the example of usage boost::lexical_cast<> with boost::uuids::uuid:
boost::uuids::uuid u1; // initialize uuid
std::string s = boost::lexical_cast<std::string>(u); // <<<<<<<<<<<< must be u1
boost::uuids::uuid u2 = boost::lexical_cast<boost::uuids::uuid>(s);
assert(u1 == u2);
I wish that boost documentation was famous as well as Qt documentation ;)
Regards, niXman.
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