mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-01 05:44:37 +02:00
MPL: Remove MSVC workaround for void templates.
[SVN r85891]
This commit is contained in:
@@ -36,36 +36,24 @@ template< typename T >
|
||||
struct is_void_
|
||||
: false_
|
||||
{
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
|
||||
using false_::value;
|
||||
#endif
|
||||
};
|
||||
|
||||
template<>
|
||||
struct is_void_<void_>
|
||||
: true_
|
||||
{
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
|
||||
using true_::value;
|
||||
#endif
|
||||
};
|
||||
|
||||
template< typename T >
|
||||
struct is_not_void_
|
||||
: true_
|
||||
{
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
|
||||
using true_::value;
|
||||
#endif
|
||||
};
|
||||
|
||||
template<>
|
||||
struct is_not_void_<void_>
|
||||
: false_
|
||||
{
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
|
||||
using false_::value;
|
||||
#endif
|
||||
};
|
||||
|
||||
BOOST_MPL_AUX_NA_SPEC(1, is_void_)
|
||||
|
Reference in New Issue
Block a user