diff options
Diffstat (limited to 'boost/unordered/unordered_set_fwd.hpp')
-rw-r--r-- | boost/unordered/unordered_set_fwd.hpp | 79 |
1 files changed, 40 insertions, 39 deletions
diff --git a/boost/unordered/unordered_set_fwd.hpp b/boost/unordered/unordered_set_fwd.hpp index 24842c80d2..35e2820f95 100644 --- a/boost/unordered/unordered_set_fwd.hpp +++ b/boost/unordered/unordered_set_fwd.hpp @@ -17,45 +17,46 @@ #include <memory> namespace boost { -namespace unordered { -template <class T, class H = boost::hash<T>, class P = std::equal_to<T>, - class A = std::allocator<T> > -class unordered_set; - -template <class T, class H, class P, class A> -inline bool operator==( - unordered_set<T, H, P, A> const&, unordered_set<T, H, P, A> const&); -template <class T, class H, class P, class A> -inline bool operator!=( - unordered_set<T, H, P, A> const&, unordered_set<T, H, P, A> const&); -template <class T, class H, class P, class A> -inline void swap(unordered_set<T, H, P, A>& m1, unordered_set<T, H, P, A>& m2) - BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(m1.swap(m2))); - -template <class T, class H = boost::hash<T>, class P = std::equal_to<T>, - class A = std::allocator<T> > -class unordered_multiset; - -template <class T, class H, class P, class A> -inline bool operator==(unordered_multiset<T, H, P, A> const&, - unordered_multiset<T, H, P, A> const&); -template <class T, class H, class P, class A> -inline bool operator!=(unordered_multiset<T, H, P, A> const&, - unordered_multiset<T, H, P, A> const&); -template <class T, class H, class P, class A> -inline void swap( - unordered_multiset<T, H, P, A>& m1, unordered_multiset<T, H, P, A>& m2) - BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(m1.swap(m2))); - -template <class N, class T, class A> class node_handle_set; -template <class N, class T, class A> struct insert_return_type_set; -} - -using boost::unordered::unordered_set; -using boost::unordered::unordered_multiset; -using boost::unordered::swap; -using boost::unordered::operator==; -using boost::unordered::operator!=; + namespace unordered { + template <class T, class H = boost::hash<T>, class P = std::equal_to<T>, + class A = std::allocator<T> > + class unordered_set; + + template <class T, class H, class P, class A> + inline bool operator==( + unordered_set<T, H, P, A> const&, unordered_set<T, H, P, A> const&); + template <class T, class H, class P, class A> + inline bool operator!=( + unordered_set<T, H, P, A> const&, unordered_set<T, H, P, A> const&); + template <class T, class H, class P, class A> + inline void swap( + unordered_set<T, H, P, A>& m1, unordered_set<T, H, P, A>& m2) + BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(m1.swap(m2))); + + template <class T, class H = boost::hash<T>, class P = std::equal_to<T>, + class A = std::allocator<T> > + class unordered_multiset; + + template <class T, class H, class P, class A> + inline bool operator==(unordered_multiset<T, H, P, A> const&, + unordered_multiset<T, H, P, A> const&); + template <class T, class H, class P, class A> + inline bool operator!=(unordered_multiset<T, H, P, A> const&, + unordered_multiset<T, H, P, A> const&); + template <class T, class H, class P, class A> + inline void swap( + unordered_multiset<T, H, P, A>& m1, unordered_multiset<T, H, P, A>& m2) + BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(m1.swap(m2))); + + template <class N, class T, class A> class node_handle_set; + template <class N, class T, class A> struct insert_return_type_set; + } + + using boost::unordered::unordered_set; + using boost::unordered::unordered_multiset; + using boost::unordered::swap; + using boost::unordered::operator==; + using boost::unordered::operator!=; } #endif |