fix doc example typo
[boost.git] / boost / multi_index / sequenced_index_fwd.hpp
blob5211390b6b6cdbe1544590f506277da3f6a25bad
1 /* Copyright 2003-2008 Joaquin M Lopez Munoz.
2 * Distributed under the Boost Software License, Version 1.0.
3 * (See accompanying file LICENSE_1_0.txt or copy at
4 * http://www.boost.org/LICENSE_1_0.txt)
6 * See http://www.boost.org/libs/multi_index for library home page.
7 */
9 #ifndef BOOST_MULTI_INDEX_SEQUENCED_INDEX_FWD_HPP
10 #define BOOST_MULTI_INDEX_SEQUENCED_INDEX_FWD_HPP
12 #if defined(_MSC_VER)&&(_MSC_VER>=1200)
13 #pragma once
14 #endif
16 #include <boost/multi_index/tag.hpp>
18 namespace boost{
20 namespace multi_index{
22 namespace detail{
24 template<typename SuperMeta,typename TagList>
25 class sequenced_index;
27 template<
28 typename SuperMeta1,typename TagList1,
29 typename SuperMeta2,typename TagList2
31 bool operator==(
32 const sequenced_index<SuperMeta1,TagList1>& x,
33 const sequenced_index<SuperMeta2,TagList2>& y);
35 template<
36 typename SuperMeta1,typename TagList1,
37 typename SuperMeta2,typename TagList2
39 bool operator<(
40 const sequenced_index<SuperMeta1,TagList1>& x,
41 const sequenced_index<SuperMeta2,TagList2>& y);
43 template<
44 typename SuperMeta1,typename TagList1,
45 typename SuperMeta2,typename TagList2
47 bool operator!=(
48 const sequenced_index<SuperMeta1,TagList1>& x,
49 const sequenced_index<SuperMeta2,TagList2>& y);
51 template<
52 typename SuperMeta1,typename TagList1,
53 typename SuperMeta2,typename TagList2
55 bool operator>(
56 const sequenced_index<SuperMeta1,TagList1>& x,
57 const sequenced_index<SuperMeta2,TagList2>& y);
59 template<
60 typename SuperMeta1,typename TagList1,
61 typename SuperMeta2,typename TagList2
63 bool operator>=(
64 const sequenced_index<SuperMeta1,TagList1>& x,
65 const sequenced_index<SuperMeta2,TagList2>& y);
67 template<
68 typename SuperMeta1,typename TagList1,
69 typename SuperMeta2,typename TagList2
71 bool operator<=(
72 const sequenced_index<SuperMeta1,TagList1>& x,
73 const sequenced_index<SuperMeta2,TagList2>& y);
75 template<typename SuperMeta,typename TagList>
76 void swap(
77 sequenced_index<SuperMeta,TagList>& x,
78 sequenced_index<SuperMeta,TagList>& y);
80 } /* namespace multi_index::detail */
82 /* index specifiers */
84 template <typename TagList=tag<> >
85 struct sequenced;
87 } /* namespace multi_index */
89 } /* namespace boost */
91 #endif