1
0
forked from boostorg/mp11

Update comment in mp_valid.cpp

This commit is contained in:
Peter Dimov
2017-03-24 18:26:02 +02:00
parent d3f4b099d2
commit e12eb6f774

View File

@@ -1,5 +1,5 @@
// Copyright 2015 Peter Dimov.
// Copyright 2015 Peter Dimov.
//
// Distributed under the Boost Software License, Version 1.0.
//
@@ -27,7 +27,7 @@ template<class T> using add_extents = T[];
int main()
{
using boost::mp11::mp_valid;
using boost::mp11::mp_valid;
using boost::mp11::mp_identity;
BOOST_TEST_TRAIT_FALSE((mp_valid<mp_identity>));
@@ -49,7 +49,7 @@ int main()
BOOST_TEST_TRAIT_FALSE((mp_valid<add_pointer, void, void>));
#if !defined( BOOST_GCC ) || !BOOST_WORKAROUND( BOOST_GCC, < 70000 )
// g++ up to at least 6.2 doesn't like add_reference for some reason or other
// g++ up to at least 6.3 doesn't like add_reference for some reason or other
BOOST_TEST_TRAIT_FALSE((mp_valid<add_reference>));
#if !defined( BOOST_MSVC ) || !BOOST_WORKAROUND( BOOST_MSVC, <= 1800 )
// msvc-12.0 gives an internal error here