mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 14:54:30 +02:00
VC 6/7 workarounds
[SVN r19771]
This commit is contained in:
@@ -17,8 +17,10 @@
|
|||||||
#ifndef BOOST_MPL_AUX_POP_FRONT_IMPL_HPP_INCLUDED
|
#ifndef BOOST_MPL_AUX_POP_FRONT_IMPL_HPP_INCLUDED
|
||||||
#define BOOST_MPL_AUX_POP_FRONT_IMPL_HPP_INCLUDED
|
#define BOOST_MPL_AUX_POP_FRONT_IMPL_HPP_INCLUDED
|
||||||
|
|
||||||
|
#include "boost/config.hpp"
|
||||||
#include "boost/mpl/pop_front_fwd.hpp"
|
#include "boost/mpl/pop_front_fwd.hpp"
|
||||||
#include "boost/mpl/aux_/traits_lambda_spec.hpp"
|
#include "boost/mpl/aux_/traits_lambda_spec.hpp"
|
||||||
|
#include "boost/detail/workaround.hpp"
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
namespace mpl {
|
namespace mpl {
|
||||||
@@ -28,7 +30,15 @@ namespace mpl {
|
|||||||
template< typename Tag >
|
template< typename Tag >
|
||||||
struct pop_front_traits
|
struct pop_front_traits
|
||||||
{
|
{
|
||||||
template< typename Sequence > struct algorithm;
|
template< typename Sequence > struct algorithm
|
||||||
|
// conservatively placed, but maybe should go outside surrounding
|
||||||
|
// braces.
|
||||||
|
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
|
||||||
|
{
|
||||||
|
typedef int type;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
;
|
||||||
};
|
};
|
||||||
|
|
||||||
BOOST_MPL_ALGORITM_TRAITS_LAMBDA_SPEC(1,pop_front_traits)
|
BOOST_MPL_ALGORITM_TRAITS_LAMBDA_SPEC(1,pop_front_traits)
|
||||||
|
Reference in New Issue
Block a user