http://bugs.openzim.org/show_bug.cgi?id=15
Tommi Mäkitalo tommi@tntnet.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX
--- Comment #3 from Tommi Mäkitalo tommi@tntnet.org 2010-03-27 10:30:52 CET --- There is a operator<< for std::ostream, which prints the hex representation of the uuid. If you want to see the hex representation of a uuid do:
zim::Uuid myUuid = ...; std::cout << myUuid;
If you really need a std::string, use std::ostringstream:
std::ostringstream s; s << myUuid; std::string hexUuid = s.str();