forked from boostorg/type_traits
Added copyright declarations.
[SVN r15986]
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_type.hpp"
|
||||
#include TYPE_TRANSFORM(add_const)
|
||||
@@ -40,3 +45,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_type.hpp"
|
||||
#include TYPE_TRANSFORM(add_pointer)
|
||||
@@ -28,3 +33,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_type.hpp"
|
||||
#include TYPE_TRANSFORM(add_reference)
|
||||
@@ -40,3 +45,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_type.hpp"
|
||||
#include TYPE_TRANSFORM(add_volatile)
|
||||
@@ -40,3 +45,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(alignment_of)
|
||||
@@ -58,3 +63,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#ifndef BOOST_CHECK_INTEGRAL_CONSTANT_HPP
|
||||
#define BOOST_CHECK_INTEGRAL_CONSTANT_HPP
|
||||
|
||||
@@ -60,4 +65,6 @@ namespace boost{
|
||||
}//boost
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#ifndef BOOST_CHECK_TYPE_HPP
|
||||
#define BOOST_CHECK_TYPE_HPP
|
||||
|
||||
@@ -32,3 +37,4 @@ do{\
|
||||
}while(0)
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_type.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
@@ -55,3 +60,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,3 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(has_nothrow_assign)
|
||||
@@ -147,3 +153,4 @@ BOOST_CHECK_SOFT_INTEGRAL_CONSTANT(::tt::has_nothrow_assign<empty_POD_union_UDT>
|
||||
|
||||
TT_TEST_END
|
||||
|
||||
|
||||
|
@@ -1,3 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(has_nothrow_constructor)
|
||||
@@ -147,3 +153,4 @@ BOOST_CHECK_SOFT_INTEGRAL_CONSTANT(::tt::has_nothrow_constructor<empty_POD_union
|
||||
|
||||
TT_TEST_END
|
||||
|
||||
|
||||
|
@@ -1,3 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(has_nothrow_copy)
|
||||
@@ -147,3 +153,4 @@ BOOST_CHECK_SOFT_INTEGRAL_CONSTANT(::tt::has_nothrow_copy<empty_POD_union_UDT>::
|
||||
|
||||
TT_TEST_END
|
||||
|
||||
|
||||
|
@@ -1,3 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(has_trivial_assign)
|
||||
@@ -147,3 +153,4 @@ BOOST_CHECK_SOFT_INTEGRAL_CONSTANT(::tt::has_trivial_assign<empty_POD_union_UDT>
|
||||
|
||||
TT_TEST_END
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(has_trivial_constructor)
|
||||
@@ -153,3 +158,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(has_trivial_copy)
|
||||
@@ -153,3 +158,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,3 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(has_trivial_destructor)
|
||||
@@ -147,3 +153,4 @@ BOOST_CHECK_SOFT_INTEGRAL_CONSTANT(::tt::has_trivial_destructor<empty_POD_union_
|
||||
|
||||
TT_TEST_END
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
|
||||
boost::unit_test_framework::test_suite* get_master_unit(const char* name)
|
||||
@@ -14,3 +19,4 @@ boost::unit_test_framework::test_suite* init_unit_test_suite ( int , char* [] )
|
||||
return get_master_unit();
|
||||
}
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_arithmetic)
|
||||
@@ -137,3 +142,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_array)
|
||||
@@ -35,3 +40,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_base_and_derived)
|
||||
@@ -24,3 +29,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_class)
|
||||
@@ -38,3 +43,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_compound)
|
||||
@@ -20,3 +25,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_const)
|
||||
@@ -23,3 +28,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_COMPARE(is_convertible)
|
||||
@@ -84,3 +89,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_empty)
|
||||
@@ -37,3 +42,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_enum)
|
||||
@@ -20,3 +25,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_float)
|
||||
@@ -40,3 +45,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_function)
|
||||
@@ -32,3 +37,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_fundamental)
|
||||
@@ -141,3 +146,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_integral)
|
||||
@@ -123,3 +128,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_member_function_pointer)
|
||||
@@ -25,3 +30,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_member_pointer)
|
||||
@@ -25,3 +30,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_object)
|
||||
@@ -18,3 +23,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_pod)
|
||||
@@ -148,3 +153,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_pointer)
|
||||
@@ -40,3 +45,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_reference)
|
||||
@@ -28,3 +33,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_COMPARE(is_same)
|
||||
@@ -23,3 +28,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_scalar)
|
||||
@@ -143,3 +148,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_union)
|
||||
@@ -44,3 +49,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_void)
|
||||
@@ -21,3 +26,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_volatile)
|
||||
@@ -21,3 +26,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_type.hpp"
|
||||
#include TYPE_TRANSFORM(remove_bounds)
|
||||
@@ -40,3 +45,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_type.hpp"
|
||||
#include TYPE_TRANSFORM(remove_const)
|
||||
@@ -46,3 +51,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_type.hpp"
|
||||
#include TYPE_TRANSFORM(remove_cv)
|
||||
@@ -48,3 +53,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_type.hpp"
|
||||
#include TYPE_TRANSFORM(remove_pointer)
|
||||
@@ -40,3 +45,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_type.hpp"
|
||||
#include TYPE_TRANSFORM(remove_reference)
|
||||
@@ -40,3 +45,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_type.hpp"
|
||||
#include TYPE_TRANSFORM(remove_volatile)
|
||||
@@ -48,3 +53,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#ifndef TT_TEST_HPP
|
||||
#define TT_TEST_HPP
|
||||
|
||||
@@ -246,4 +251,4 @@ struct incomplete_type;
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_function)
|
||||
@@ -59,3 +64,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_type.hpp"
|
||||
#include TYPE_TRANSFORM(add_pointer)
|
||||
@@ -27,3 +32,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_function)
|
||||
@@ -145,3 +150,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_function)
|
||||
@@ -53,3 +58,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(is_class)
|
||||
@@ -69,3 +74,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
|
||||
// (C) Copyright John Maddock 2000. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
#include "test.hpp"
|
||||
#include "check_integral_constant.hpp"
|
||||
#include TYPE_TRAITS(alignment_of)
|
||||
@@ -202,3 +207,4 @@ TT_TEST_END
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user