annotate DEPENDENCIES/generic/include/boost/ptr_container/detail/meta_functions.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1 //
Chris@16 2 // Boost.Pointer Container
Chris@16 3 //
Chris@16 4 // Copyright Thorsten Ottosen 2008. Use, modification and
Chris@16 5 // distribution is subject to the Boost Software License, Version
Chris@16 6 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 7 // http://www.boost.org/LICENSE_1_0.txt)
Chris@16 8 //
Chris@16 9 // For more information, see http://www.boost.org/libs/ptr_container/
Chris@16 10 //
Chris@16 11
Chris@16 12 #ifndef BOOST_PTR_CONTAINER_DETAIL_META_FUNCTIONS
Chris@16 13 #define BOOST_PTR_CONTAINER_DETAIL_META_FUNCTIONS
Chris@16 14
Chris@16 15 #include <boost/mpl/identity.hpp>
Chris@16 16 #include <boost/mpl/eval_if.hpp>
Chris@16 17
Chris@16 18 namespace boost
Chris@16 19 {
Chris@16 20 namespace ptr_container_detail
Chris@16 21 {
Chris@16 22 template< class T >
Chris@16 23 struct select_value_compare
Chris@16 24 {
Chris@16 25 typedef typename T::value_compare type;
Chris@16 26 };
Chris@16 27
Chris@16 28 template< class T >
Chris@16 29 struct select_key_compare
Chris@16 30 {
Chris@16 31 typedef typename T::key_compare type;
Chris@16 32 };
Chris@16 33
Chris@16 34 template< class T >
Chris@16 35 struct select_hasher
Chris@16 36 {
Chris@16 37 typedef typename T::hasher type;
Chris@16 38 };
Chris@16 39
Chris@16 40 template< class T >
Chris@16 41 struct select_key_equal
Chris@16 42 {
Chris@16 43 typedef typename T::key_equal type;
Chris@16 44 };
Chris@16 45
Chris@16 46 template< class T >
Chris@16 47 struct select_iterator
Chris@16 48 {
Chris@16 49 typedef typename T::iterator type;
Chris@16 50 };
Chris@16 51
Chris@16 52 template< class T >
Chris@16 53 struct select_local_iterator
Chris@16 54 {
Chris@16 55 typedef typename T::local_iterator type;
Chris@16 56 };
Chris@16 57
Chris@16 58 template< class T >
Chris@16 59 struct select_const_local_iterator
Chris@16 60 {
Chris@16 61 typedef typename T::const_local_iterator type;
Chris@16 62 };
Chris@16 63 }
Chris@16 64 }
Chris@16 65
Chris@16 66 #endif