2 // Boost.Pointer Container
4 // Copyright Thorsten Ottosen 2008. Use, modification and
5 // distribution is subject to the Boost Software License, Version
6 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 // For more information, see http://www.boost.org/libs/ptr_container/
12 #ifndef BOOST_PTR_CONTAINER_DETAIL_META_FUNCTIONS
13 #define BOOST_PTR_CONTAINER_DETAIL_META_FUNCTIONS
15 #include <boost/mpl/identity.hpp>
16 #include <boost/mpl/eval_if.hpp>
20 namespace ptr_container_detail
23 struct select_value_compare
25 typedef typename
T::value_compare type
;
29 struct select_key_compare
31 typedef typename
T::key_compare type
;
37 typedef typename
T::hasher type
;
41 struct select_key_equal
43 typedef typename
T::key_equal type
;
47 struct select_iterator
49 typedef typename
T::iterator type
;
53 struct select_local_iterator
55 typedef typename
T::local_iterator type
;
59 struct select_const_local_iterator
61 typedef typename
T::const_local_iterator type
;