Switch to using boost::declval.

Change has_nothrow_copy to use is_copy_constructible as it has better broken-compiler workarounds than is_constructible.
This commit is contained in:
jzmaddock
2015-06-14 09:30:46 +01:00
parent e68fddd992
commit 2f2ca65e48
9 changed files with 24 additions and 20 deletions
+3
View File
@@ -29,6 +29,9 @@ rule all-tests {
{
result += [ run $(source) ] ;
}
#
# These traits have both intrinsic support, and a std conforming version, test a version with intrinsics disabled for better code coverage:
#
for local source in has_nothrow_assign_test has_nothrow_constr_test has_nothrow_copy_test is_nothrow_move_assignable_test is_nothrow_move_constructible_test
{
result += [ run $(source).cpp : : : <define>BOOST_TT_DISABLE_INTRINSICS : $(source)_no_intrinsics ] ;