epoc32/include/stdapis/boost/mpl/aux_/at_impl.hpp
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/mpl/aux_/at_impl.hpp	Wed Mar 31 12:27:01 2010 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +
     1.5 +#ifndef BOOST_MPL_SET_AUX_AT_IMPL_HPP_INCLUDED
     1.6 +#define BOOST_MPL_SET_AUX_AT_IMPL_HPP_INCLUDED
     1.7 +
     1.8 +// Copyright Aleksey Gurtovoy 2003-2004
     1.9 +//
    1.10 +// Distributed under the Boost Software License, Version 1.0. 
    1.11 +// (See accompanying file LICENSE_1_0.txt or copy at 
    1.12 +// http://www.boost.org/LICENSE_1_0.txt)
    1.13 +//
    1.14 +// See http://www.boost.org/libs/mpl for documentation.
    1.15 +
    1.16 +// $Source: /cvsroot/boost/boost/boost/mpl/set/aux_/at_impl.hpp,v $
    1.17 +// $Date: 2004/09/02 15:41:02 $
    1.18 +// $Revision: 1.2 $
    1.19 +
    1.20 +#include <boost/mpl/at_fwd.hpp>
    1.21 +#include <boost/mpl/set/aux_/has_key_impl.hpp>
    1.22 +#include <boost/mpl/set/aux_/tag.hpp>
    1.23 +#include <boost/mpl/if.hpp>
    1.24 +#include <boost/mpl/void.hpp>
    1.25 +
    1.26 +namespace boost { namespace mpl {
    1.27 +
    1.28 +template<>
    1.29 +struct at_impl< aux::set_tag >
    1.30 +{
    1.31 +    template< typename Set, typename T > struct apply
    1.32 +    {
    1.33 +        typedef typename if_< 
    1.34 +              has_key_impl<aux::set_tag>::apply<Set,T>
    1.35 +            , T
    1.36 +            , void_
    1.37 +            >::type type;            
    1.38 +    };
    1.39 +};
    1.40 +
    1.41 +}}
    1.42 +
    1.43 +#endif // BOOST_MPL_SET_AUX_AT_IMPL_HPP_INCLUDED