epoc32/include/stdapis/boost/multi_index/random_access_index_fwd.hpp
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 /* Copyright 2003-2005 Joaquín M López Muñoz.
     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)
     5  *
     6  * See http://www.boost.org/libs/multi_index for library home page.
     7  */
     8 
     9 #ifndef BOOST_MULTI_INDEX_RANDOM_ACCESS_INDEX_FWD_HPP
    10 #define BOOST_MULTI_INDEX_RANDOM_ACCESS_INDEX_FWD_HPP
    11 
    12 #if defined(_MSC_VER)&&(_MSC_VER>=1200)
    13 #pragma once
    14 #endif
    15 
    16 #include <boost/multi_index/tag.hpp>
    17 
    18 namespace boost{
    19 
    20 namespace multi_index{
    21 
    22 namespace detail{
    23 
    24 template<typename SuperMeta,typename TagList>
    25 class random_access_index;
    26 
    27 template<
    28   typename SuperMeta1,typename TagList1,
    29   typename SuperMeta2,typename TagList2
    30 >
    31 bool operator==(
    32   const random_access_index<SuperMeta1,TagList1>& x,
    33   const random_access_index<SuperMeta2,TagList2>& y);
    34 
    35 template<
    36   typename SuperMeta1,typename TagList1,
    37   typename SuperMeta2,typename TagList2
    38 >
    39 bool operator<(
    40   const random_access_index<SuperMeta1,TagList1>& x,
    41   const random_access_index<SuperMeta2,TagList2>& y);
    42 
    43 template<
    44   typename SuperMeta1,typename TagList1,
    45   typename SuperMeta2,typename TagList2
    46 >
    47 bool operator!=(
    48   const random_access_index<SuperMeta1,TagList1>& x,
    49   const random_access_index<SuperMeta2,TagList2>& y);
    50 
    51 template<
    52   typename SuperMeta1,typename TagList1,
    53   typename SuperMeta2,typename TagList2
    54 >
    55 bool operator>(
    56   const random_access_index<SuperMeta1,TagList1>& x,
    57   const random_access_index<SuperMeta2,TagList2>& y);
    58 
    59 template<
    60   typename SuperMeta1,typename TagList1,
    61   typename SuperMeta2,typename TagList2
    62 >
    63 bool operator>=(
    64   const random_access_index<SuperMeta1,TagList1>& x,
    65   const random_access_index<SuperMeta2,TagList2>& y);
    66 
    67 template<
    68   typename SuperMeta1,typename TagList1,
    69   typename SuperMeta2,typename TagList2
    70 >
    71 bool operator<=(
    72   const random_access_index<SuperMeta1,TagList1>& x,
    73   const random_access_index<SuperMeta2,TagList2>& y);
    74 
    75 template<typename SuperMeta,typename TagList>
    76 void swap(
    77   random_access_index<SuperMeta,TagList>& x,
    78   random_access_index<SuperMeta,TagList>& y);
    79 
    80 } /* namespace multi_index::detail */
    81 
    82 /* index specifiers */
    83 
    84 template <typename TagList=tag<> >
    85 struct random_access;
    86 
    87 } /* namespace multi_index */
    88 
    89 } /* namespace boost */
    90 
    91 #endif