File indexing completed on 2025-01-18 09:42:11
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_MULTI_INDEX_RANDOM_ACCESS_INDEX_FWD_HPP
0010 #define BOOST_MULTI_INDEX_RANDOM_ACCESS_INDEX_FWD_HPP
0011
0012 #if defined(_MSC_VER)
0013 #pragma once
0014 #endif
0015
0016 #include <boost/multi_index/tag.hpp>
0017
0018 namespace boost{
0019
0020 namespace multi_index{
0021
0022 namespace detail{
0023
0024 template<typename SuperMeta,typename TagList>
0025 class random_access_index;
0026
0027 template<
0028 typename SuperMeta1,typename TagList1,
0029 typename SuperMeta2,typename TagList2
0030 >
0031 bool operator==(
0032 const random_access_index<SuperMeta1,TagList1>& x,
0033 const random_access_index<SuperMeta2,TagList2>& y);
0034
0035 template<
0036 typename SuperMeta1,typename TagList1,
0037 typename SuperMeta2,typename TagList2
0038 >
0039 bool operator<(
0040 const random_access_index<SuperMeta1,TagList1>& x,
0041 const random_access_index<SuperMeta2,TagList2>& y);
0042
0043 template<
0044 typename SuperMeta1,typename TagList1,
0045 typename SuperMeta2,typename TagList2
0046 >
0047 bool operator!=(
0048 const random_access_index<SuperMeta1,TagList1>& x,
0049 const random_access_index<SuperMeta2,TagList2>& y);
0050
0051 template<
0052 typename SuperMeta1,typename TagList1,
0053 typename SuperMeta2,typename TagList2
0054 >
0055 bool operator>(
0056 const random_access_index<SuperMeta1,TagList1>& x,
0057 const random_access_index<SuperMeta2,TagList2>& y);
0058
0059 template<
0060 typename SuperMeta1,typename TagList1,
0061 typename SuperMeta2,typename TagList2
0062 >
0063 bool operator>=(
0064 const random_access_index<SuperMeta1,TagList1>& x,
0065 const random_access_index<SuperMeta2,TagList2>& y);
0066
0067 template<
0068 typename SuperMeta1,typename TagList1,
0069 typename SuperMeta2,typename TagList2
0070 >
0071 bool operator<=(
0072 const random_access_index<SuperMeta1,TagList1>& x,
0073 const random_access_index<SuperMeta2,TagList2>& y);
0074
0075 template<typename SuperMeta,typename TagList>
0076 void swap(
0077 random_access_index<SuperMeta,TagList>& x,
0078 random_access_index<SuperMeta,TagList>& y);
0079
0080 }
0081
0082
0083
0084 template <typename TagList=tag<> >
0085 struct random_access;
0086
0087 }
0088
0089 }
0090
0091 #endif