Removed enable_if checks: the same syntax is supported regardless of support

for enable_if


[SVN r16615]
This commit is contained in:
Douglas Gregor
2002-12-15 14:55:07 +00:00
parent 450959d0d7
commit b8d3e01e42
2 changed files with 0 additions and 16 deletions

View File

@ -97,11 +97,7 @@ test_zero_args()
BOOST_TEST(global_int == 5);
// clear
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
v1 = 0;
#else
v1.clear();
#endif
BOOST_TEST(0 == v1);
// Assignment to an empty function from a free function
@ -495,11 +491,7 @@ test_zero_args()
BOOST_TEST(global_int == 2);
// Test construction from 0 and comparison to 0
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
func_void_type v9(0);
#else
func_void_type v9; // just default construct
#endif
BOOST_TEST(v9 == 0);
BOOST_TEST(0 == v9);