epoc32/include/stdapis/boost/mpl/aux_/at_impl.hpp
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 epoc32/include/stdapis/boost/mpl/set/aux_/at_impl.hpp@2fe1408b6811
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
williamr@2
     1
williamr@2
     2
#ifndef BOOST_MPL_SET_AUX_AT_IMPL_HPP_INCLUDED
williamr@2
     3
#define BOOST_MPL_SET_AUX_AT_IMPL_HPP_INCLUDED
williamr@2
     4
williamr@2
     5
// Copyright Aleksey Gurtovoy 2003-2004
williamr@2
     6
//
williamr@2
     7
// Distributed under the Boost Software License, Version 1.0. 
williamr@2
     8
// (See accompanying file LICENSE_1_0.txt or copy at 
williamr@2
     9
// http://www.boost.org/LICENSE_1_0.txt)
williamr@2
    10
//
williamr@2
    11
// See http://www.boost.org/libs/mpl for documentation.
williamr@2
    12
williamr@2
    13
// $Source: /cvsroot/boost/boost/boost/mpl/set/aux_/at_impl.hpp,v $
williamr@2
    14
// $Date: 2004/09/02 15:41:02 $
williamr@2
    15
// $Revision: 1.2 $
williamr@2
    16
williamr@2
    17
#include <boost/mpl/at_fwd.hpp>
williamr@2
    18
#include <boost/mpl/set/aux_/has_key_impl.hpp>
williamr@2
    19
#include <boost/mpl/set/aux_/tag.hpp>
williamr@2
    20
#include <boost/mpl/if.hpp>
williamr@2
    21
#include <boost/mpl/void.hpp>
williamr@2
    22
williamr@2
    23
namespace boost { namespace mpl {
williamr@2
    24
williamr@2
    25
template<>
williamr@2
    26
struct at_impl< aux::set_tag >
williamr@2
    27
{
williamr@2
    28
    template< typename Set, typename T > struct apply
williamr@2
    29
    {
williamr@2
    30
        typedef typename if_< 
williamr@2
    31
              has_key_impl<aux::set_tag>::apply<Set,T>
williamr@2
    32
            , T
williamr@2
    33
            , void_
williamr@2
    34
            >::type type;            
williamr@2
    35
    };
williamr@2
    36
};
williamr@2
    37
williamr@2
    38
}}
williamr@2
    39
williamr@2
    40
#endif // BOOST_MPL_SET_AUX_AT_IMPL_HPP_INCLUDED