// Copyright 2005-2009 Daniel James. // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #if !defined(BOOST_UNORDERED_TEST_HELPERS_METAFUNCTIONS_HEADER) #define BOOST_UNORDERED_TEST_HELPERS_METAFUNCTIONS_HEADER #include #include #include #include namespace test { template struct is_set : public boost::is_same< BOOST_DEDUCED_TYPENAME Container::key_type, BOOST_DEDUCED_TYPENAME Container::value_type> {}; template struct has_unique_keys { BOOST_STATIC_CONSTANT(bool, value = false); }; template struct has_unique_keys > { BOOST_STATIC_CONSTANT(bool, value = true); }; template struct has_unique_keys > { BOOST_STATIC_CONSTANT(bool, value = true); }; } #endif