| 568 | template <class CharT = char, class Traits = std::char_traits<CharT>, |
| 569 | class Allocator = std::allocator<CharT>> |
| 570 | inline std::basic_string<CharT, Traits, Allocator> to_string(uuid const& id) { |
| 571 | std::basic_stringstream<CharT, Traits, Allocator> sstr; |
| 572 | sstr << id; |
| 573 | return sstr.str(); |
| 574 | } |
| 575 | |
| 576 | inline void swap(uuids::uuid& lhs, uuids::uuid& rhs) noexcept { lhs.swap(rhs); } |
| 577 |