mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 14:54:30 +02:00
ETI fix
[SVN r18953]
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
#include "boost/mpl/clear_fwd.hpp"
|
||||
#include "boost/mpl/aux_/traits_lambda_spec.hpp"
|
||||
#include "boost/mpl/aux_/config/eti.hpp"
|
||||
|
||||
namespace boost {
|
||||
namespace mpl {
|
||||
@@ -31,6 +32,17 @@ struct clear_traits
|
||||
template< typename Sequence > struct algorithm;
|
||||
};
|
||||
|
||||
#if defined(BOOST_MPL_MSVC_60_ETI_BUG)
|
||||
template<>
|
||||
struct clear_traits<int>
|
||||
{
|
||||
template< typename Sequence > struct algorithm
|
||||
{
|
||||
typedef int type;
|
||||
};
|
||||
};
|
||||
#endif
|
||||
|
||||
BOOST_MPL_ALGORITM_TRAITS_LAMBDA_SPEC(1,clear_traits)
|
||||
|
||||
} // namespace mpl
|
||||
|
Reference in New Issue
Block a user