mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 22:14:26 +02:00
detail/value_functors.hpp: Add Namespacing
value_less and value_equal are now boost::container::value_less & boost::container::value_equal respectively.
This commit is contained in:
@@ -18,6 +18,9 @@
|
|||||||
# pragma once
|
# pragma once
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
namespace boost {
|
||||||
|
namespace container {
|
||||||
|
|
||||||
//Functors for member algorithm defaults
|
//Functors for member algorithm defaults
|
||||||
template<class ValueType>
|
template<class ValueType>
|
||||||
struct value_less
|
struct value_less
|
||||||
@@ -33,4 +36,7 @@ struct value_equal
|
|||||||
{ return a == b; }
|
{ return a == b; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
} //namespace container {
|
||||||
|
} //namespace boost {
|
||||||
|
|
||||||
#endif //BOOST_CONTAINER_DETAIL_VALUE_FUNCTORS_HPP
|
#endif //BOOST_CONTAINER_DETAIL_VALUE_FUNCTORS_HPP
|
||||||
|
Reference in New Issue
Block a user