12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- /* Copyright 2003-2013 Joaquin M Lopez Munoz.
- * Distributed under the Boost Software License, Version 1.0.
- * (See accompanying file LICENSE_1_0.txt or copy at
- * http://www.boost.org/LICENSE_1_0.txt)
- *
- * See http://www.boost.org/libs/multi_index for library home page.
- */
- #ifndef BOOST_MULTI_INDEX_RANDOM_ACCESS_INDEX_FWD_HPP
- #define BOOST_MULTI_INDEX_RANDOM_ACCESS_INDEX_FWD_HPP
- #if defined(_MSC_VER)
- #pragma once
- #endif
- #include <boost/multi_index/tag.hpp>
- namespace boost{
- namespace multi_index{
- namespace detail{
- template<typename SuperMeta,typename TagList>
- class random_access_index;
- template<
- typename SuperMeta1,typename TagList1,
- typename SuperMeta2,typename TagList2
- >
- bool operator==(
- const random_access_index<SuperMeta1,TagList1>& x,
- const random_access_index<SuperMeta2,TagList2>& y);
- template<
- typename SuperMeta1,typename TagList1,
- typename SuperMeta2,typename TagList2
- >
- bool operator<(
- const random_access_index<SuperMeta1,TagList1>& x,
- const random_access_index<SuperMeta2,TagList2>& y);
- template<
- typename SuperMeta1,typename TagList1,
- typename SuperMeta2,typename TagList2
- >
- bool operator!=(
- const random_access_index<SuperMeta1,TagList1>& x,
- const random_access_index<SuperMeta2,TagList2>& y);
- template<
- typename SuperMeta1,typename TagList1,
- typename SuperMeta2,typename TagList2
- >
- bool operator>(
- const random_access_index<SuperMeta1,TagList1>& x,
- const random_access_index<SuperMeta2,TagList2>& y);
- template<
- typename SuperMeta1,typename TagList1,
- typename SuperMeta2,typename TagList2
- >
- bool operator>=(
- const random_access_index<SuperMeta1,TagList1>& x,
- const random_access_index<SuperMeta2,TagList2>& y);
- template<
- typename SuperMeta1,typename TagList1,
- typename SuperMeta2,typename TagList2
- >
- bool operator<=(
- const random_access_index<SuperMeta1,TagList1>& x,
- const random_access_index<SuperMeta2,TagList2>& y);
- template<typename SuperMeta,typename TagList>
- void swap(
- random_access_index<SuperMeta,TagList>& x,
- random_access_index<SuperMeta,TagList>& y);
- } /* namespace multi_index::detail */
- /* index specifiers */
- template <typename TagList=tag<> >
- struct random_access;
- } /* namespace multi_index */
- } /* namespace boost */
- #endif
|