Chris@16: // Chris@16: // Boost.Pointer Container Chris@16: // Chris@16: // Copyright Thorsten Ottosen 2008. Use, modification and Chris@16: // distribution is subject to the Boost Software License, Version Chris@16: // 1.0. (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: // Chris@16: // For more information, see http://www.boost.org/libs/ptr_container/ Chris@16: // Chris@16: Chris@16: #ifndef BOOST_PTR_CONTAINER_DETAIL_META_FUNCTIONS Chris@16: #define BOOST_PTR_CONTAINER_DETAIL_META_FUNCTIONS Chris@16: Chris@16: #include Chris@16: #include Chris@16: Chris@16: namespace boost Chris@16: { Chris@16: namespace ptr_container_detail Chris@16: { Chris@16: template< class T > Chris@16: struct select_value_compare Chris@16: { Chris@16: typedef typename T::value_compare type; Chris@16: }; Chris@16: Chris@16: template< class T > Chris@16: struct select_key_compare Chris@16: { Chris@16: typedef typename T::key_compare type; Chris@16: }; Chris@16: Chris@16: template< class T > Chris@16: struct select_hasher Chris@16: { Chris@16: typedef typename T::hasher type; Chris@16: }; Chris@16: Chris@16: template< class T > Chris@16: struct select_key_equal Chris@16: { Chris@16: typedef typename T::key_equal type; Chris@16: }; Chris@16: Chris@16: template< class T > Chris@16: struct select_iterator Chris@16: { Chris@16: typedef typename T::iterator type; Chris@16: }; Chris@16: Chris@16: template< class T > Chris@16: struct select_local_iterator Chris@16: { Chris@16: typedef typename T::local_iterator type; Chris@16: }; Chris@16: Chris@16: template< class T > Chris@16: struct select_const_local_iterator Chris@16: { Chris@16: typedef typename T::const_local_iterator type; Chris@16: }; Chris@16: } Chris@16: } Chris@16: Chris@16: #endif