epoc32/include/stdapis/boost/mpl/front.hpp
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
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.
williamr@2
     1
williamr@4
     2
#ifndef BOOST_MPL_FRONT_HPP_INCLUDED
williamr@4
     3
#define BOOST_MPL_FRONT_HPP_INCLUDED
williamr@2
     4
williamr@2
     5
// Copyright Aleksey Gurtovoy 2000-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@4
    13
// $Source: /cvsroot/boost/boost/boost/mpl/front.hpp,v $
williamr@4
    14
// $Date: 2004/09/02 15:40:41 $
williamr@2
    15
// $Revision: 1.4 $
williamr@2
    16
williamr@2
    17
#include <boost/mpl/front_fwd.hpp>
williamr@4
    18
#include <boost/mpl/aux_/front_impl.hpp>
williamr@4
    19
#include <boost/mpl/sequence_tag.hpp>
williamr@4
    20
#include <boost/mpl/aux_/na_spec.hpp>
williamr@4
    21
#include <boost/mpl/aux_/lambda_support.hpp>
williamr@2
    22
williamr@2
    23
namespace boost { namespace mpl {
williamr@2
    24
williamr@4
    25
template<
williamr@4
    26
      typename BOOST_MPL_AUX_NA_PARAM(Sequence)
williamr@4
    27
    >
williamr@4
    28
struct front
williamr@4
    29
    : front_impl< typename sequence_tag<Sequence>::type >
williamr@4
    30
        ::template apply< Sequence >
williamr@2
    31
{
williamr@4
    32
    BOOST_MPL_AUX_LAMBDA_SUPPORT(1,front,(Sequence))
williamr@2
    33
};
williamr@2
    34
williamr@4
    35
BOOST_MPL_AUX_NA_SPEC(1, front)
williamr@2
    36
williamr@2
    37
}}
williamr@2
    38
williamr@4
    39
#endif // BOOST_MPL_FRONT_HPP_INCLUDED