mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-02 14:24:30 +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_
|
struct is_void_
|
||||||
: false_
|
: false_
|
||||||
{
|
{
|
||||||
#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
|
|
||||||
using false_::value;
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
struct is_void_<void_>
|
struct is_void_<void_>
|
||||||
: true_
|
: true_
|
||||||
{
|
{
|
||||||
#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
|
|
||||||
using true_::value;
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template< typename T >
|
template< typename T >
|
||||||
struct is_not_void_
|
struct is_not_void_
|
||||||
: true_
|
: true_
|
||||||
{
|
{
|
||||||
#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
|
|
||||||
using true_::value;
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
struct is_not_void_<void_>
|
struct is_not_void_<void_>
|
||||||
: false_
|
: false_
|
||||||
{
|
{
|
||||||
#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
|
|
||||||
using false_::value;
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
BOOST_MPL_AUX_NA_SPEC(1, is_void_)
|
BOOST_MPL_AUX_NA_SPEC(1, is_void_)
|
||||||
|
Reference in New Issue
Block a user