1 // Copyright 2005 Daniel Wallin.
2 // Copyright 2005 Joel de Guzman.
4 // Use, modification and distribution is subject to the Boost Software
5 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
8 // Modeled after range_ex, Copyright 2004 Eric Niebler
9 ///////////////////////////////////////////////////////////////////////////////
11 // has_upper_bound.hpp
13 /////////////////////////////////////////////////////////////////////////////
15 #if defined(_MSC_VER) && _MSC_VER >= 1000
19 #ifndef HAS_UPPER_BOUND_EN_14_12_2004
20 #define HAS_UPPER_BOUND_EN_14_12_2004
22 #include <boost/mpl/or.hpp>
23 #include "./is_std_map.hpp"
24 #include "./is_std_set.hpp"
25 #include "./is_std_hash_map.hpp"
26 #include "./is_std_hash_set.hpp"
30 // Specialize this for user-defined types
32 struct has_upper_bound
42 , is_std_hash_multimap<T>
44 , is_std_hash_multiset<T>
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams