diff --git a/include/uuid.h b/include/uuid.h index 9634d9e..b1563b0 100644 --- a/include/uuid.h +++ b/include/uuid.h @@ -550,13 +550,6 @@ namespace uuids return lhs.data < rhs.data; } - template - std::basic_ostream & operator<<(std::basic_ostream &s, uuid const & id) - { - s << to_string(id); - return s; - } - template, class Allocator = std::allocator> @@ -578,6 +571,13 @@ namespace uuids return uustr; } + template + std::basic_ostream& operator<<(std::basic_ostream& s, uuid const& id) + { + s << to_string(id); + return s; + } + inline void swap(uuids::uuid & lhs, uuids::uuid & rhs) noexcept { lhs.swap(rhs);