File indexing completed on 2025-01-18 09:29:37
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef BOOST_BIMAP_CONTAINER_ADAPTOR_DETAIL_ITERATOR_FACADE_CONVERTERS_HPP
0013 #define BOOST_BIMAP_CONTAINER_ADAPTOR_DETAIL_ITERATOR_FACADE_CONVERTERS_HPP
0014
0015 #if defined(_MSC_VER)
0016 #pragma once
0017 #endif
0018
0019 #include <boost/config.hpp>
0020
0021 namespace boost {
0022 namespace bimaps {
0023 namespace container_adaptor {
0024
0025
0026
0027 namespace support {
0028
0029
0030
0031
0032
0033
0034 template
0035 <
0036 class Iterator,
0037 class ConstIterator
0038 >
0039 struct iterator_facade_to_base
0040 {
0041 BOOST_DEDUCED_TYPENAME Iterator::base_type operator()(Iterator iter) const
0042 {
0043 return iter.base();
0044 }
0045
0046 BOOST_DEDUCED_TYPENAME ConstIterator::base_type operator()(ConstIterator iter) const
0047 {
0048 return iter.base();
0049 }
0050 };
0051
0052 #ifndef BOOST_BIMAP_DOXYGEN_WILL_NOT_PROCESS_THE_FOLLOWING_LINES
0053
0054 template
0055 <
0056 class Iterator
0057 >
0058 struct iterator_facade_to_base<Iterator,Iterator>
0059 {
0060 BOOST_DEDUCED_TYPENAME Iterator::base_type operator()(Iterator iter) const
0061 {
0062 return iter.base();
0063 }
0064 };
0065
0066 #endif
0067
0068 #undef BOOST_BIMAP_CONTAINER_ADAPTOR_IMPLEMENT_CONVERT_FACADE_FUNCTION
0069
0070
0071 }
0072 }
0073 }
0074 }
0075
0076
0077 #endif