swap specifications

This commit is contained in:
Marius Bancila 2018-01-31 09:39:08 +02:00 committed by GitHub
parent 5ea167b47a
commit fa278d23e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -349,7 +349,6 @@ public:
constexpr bool nil() const noexcept; constexpr bool nil() const noexcept;
void swap(uuid & other) noexcept; void swap(uuid & other) noexcept;
friend void swap(uuid& lhs, uuid& rhs) noexcept;
iterator begin() noexcept; iterator begin() noexcept;
const_iterator begin() const noexcept; const_iterator begin() const noexcept;
@ -373,6 +372,8 @@ namespace std {
inline bool operator!= (uuid const& lhs, uuid const& rhs) noexcept; inline bool operator!= (uuid const& lhs, uuid const& rhs) noexcept;
inline bool operator< (uuid const& lhs, uuid const& rhs) noexcept; inline bool operator< (uuid const& lhs, uuid const& rhs) noexcept;
inline void swap(uuids::uuid & lhs, uuids::uuid & rhs);
template <class Elem, class Traits> template <class Elem, class Traits>
std::basic_ostream<Elem, Traits> & operator<<(std::basic_ostream<Elem, Traits> &s, uuid const & id); std::basic_ostream<Elem, Traits> & operator<<(std::basic_ostream<Elem, Traits> &s, uuid const & id);