File indexing completed on 2025-01-18 09:29:38
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef BOOST_BIMAP_DETAIL_GENERATE_VIEW_BINDER_HPP
0013 #define BOOST_BIMAP_DETAIL_GENERATE_VIEW_BINDER_HPP
0014
0015 #if defined(_MSC_VER)
0016 #pragma once
0017 #endif
0018
0019 #include <boost/config.hpp>
0020
0021 #include <boost/multi_index/tag.hpp>
0022
0023
0024 #define BOOST_BIMAP_GENERATE_MAP_VIEW_BINDER( \
0025 \
0026 MAP_VIEW_TYPE \
0027 \
0028 ) \
0029 \
0030 template< class Tag, class BimapType > \
0031 struct map_view_bind \
0032 { \
0033 typedef MAP_VIEW_TYPE \
0034 < \
0035 Tag, \
0036 BimapType \
0037 \
0038 > type; \
0039 };
0040
0041
0042
0043
0044 #define BOOST_BIMAP_GENERATE_SET_VIEW_BINDER( \
0045 \
0046 SET_VIEW_TYPE \
0047 \
0048 ) \
0049 \
0050 template< class IndexType > \
0051 struct set_view_bind \
0052 { \
0053 typedef SET_VIEW_TYPE<IndexType> type; \
0054 };
0055
0056
0057
0058 #endif