24 #include <boost/uuid/uuid.hpp>
25 #include <boost/uuid/uuid_generators.hpp>
35 : boost::uuids::uuid (boost::uuids::random_generator()()) {}
36 UUID (std::string
const & str)
37 : boost::uuids::uuid (boost::uuids::string_generator()(str)) {}
39 explicit UUID (boost::uuids::uuid
const& u)
40 : boost::uuids::uuid(u)
43 UUID& operator= (std::string
const & str);
46 operator bool()
const {
return !is_nil(); }
UUID(boost::uuids::uuid const &u)
UUID(std::string const &str)