| author | William Roberts <williamr@symbian.org> |
| Wed, 31 Mar 2010 12:27:01 +0100 | |
| branch | Symbian2 |
| changeset 3 | e1b950c65cb4 |
| permissions | -rw-r--r-- |
| williamr@2 | 1 |
|
| williamr@2 | 2 |
#ifndef BOOST_MPL_AUX_POP_FRONT_IMPL_HPP_INCLUDED |
| williamr@2 | 3 |
#define BOOST_MPL_AUX_POP_FRONT_IMPL_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@2 | 13 |
// $Source: /cvsroot/boost/boost/boost/mpl/aux_/pop_front_impl.hpp,v $ |
| williamr@2 | 14 |
// $Date: 2004/09/02 15:40:44 $ |
| williamr@2 | 15 |
// $Revision: 1.5 $ |
| williamr@2 | 16 |
|
| williamr@2 | 17 |
#include <boost/mpl/pop_front_fwd.hpp> |
| williamr@2 | 18 |
#include <boost/mpl/aux_/traits_lambda_spec.hpp> |
| williamr@2 | 19 |
#include <boost/mpl/aux_/config/workaround.hpp> |
| williamr@2 | 20 |
#include <boost/mpl/aux_/config/msvc.hpp> |
| williamr@2 | 21 |
|
| williamr@2 | 22 |
namespace boost { namespace mpl {
|
| williamr@2 | 23 |
|
| williamr@2 | 24 |
// no default implementation; the definition is needed to make MSVC happy |
| williamr@2 | 25 |
|
| williamr@2 | 26 |
template< typename Tag > |
| williamr@2 | 27 |
struct pop_front_impl |
| williamr@2 | 28 |
{
|
| williamr@2 | 29 |
template< typename Sequence > struct apply |
| williamr@2 | 30 |
// conservatively placed, but maybe should go outside surrounding |
| williamr@2 | 31 |
// braces. |
| williamr@2 | 32 |
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) |
| williamr@2 | 33 |
{
|
| williamr@2 | 34 |
typedef int type; |
| williamr@2 | 35 |
} |
| williamr@2 | 36 |
#endif |
| williamr@2 | 37 |
; |
| williamr@2 | 38 |
}; |
| williamr@2 | 39 |
|
| williamr@2 | 40 |
BOOST_MPL_ALGORITM_TRAITS_LAMBDA_SPEC(1, pop_front_impl) |
| williamr@2 | 41 |
|
| williamr@2 | 42 |
}} |
| williamr@2 | 43 |
|
| williamr@2 | 44 |
#endif // BOOST_MPL_AUX_POP_FRONT_IMPL_HPP_INCLUDED |