diff --git a/test/functional/invoke.cpp b/test/functional/invoke.cpp index 3960af17..68c59e4b 100644 --- a/test/functional/invoke.cpp +++ b/test/functional/invoke.cpp @@ -1,8 +1,8 @@ /*============================================================================= - Copyright (c) 2005-2006 João Abecasis + Copyright (c) 2005-2006 Joao Abecasis Copyright (c) 2006-2007 Tobias Schwinger - - Use modification and distribution are subject to the Boost Software + + Use modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). ==============================================================================*/ @@ -127,10 +127,10 @@ class members { public: int data; - + members() : data(20) - { } + { } int nullary() { return data + 1; } int nullary_c() const { return data + 2; } @@ -340,17 +340,17 @@ void result_type_tests() using boost::is_same; BOOST_TEST(( is_same< - fusion::result_of::invoke::type, int + fusion::result_of::invoke::type, int >::value )); // disabled until boost::result_of supports it // BOOST_TEST(( is_same< -// fusion::result_of::invoke >::type, int +// fusion::result_of::invoke >::type, int // >::value )); - BOOST_TEST(( is_same< - fusion::result_of::invoke >::type, int + BOOST_TEST(( is_same< + fusion::result_of::invoke >::type, int >::value )); // disabled until boost::result_of supports it -// BOOST_TEST(( is_same< +// BOOST_TEST(( is_same< // fusion::result_of::invoke >::type, int // >::value )); } diff --git a/test/functional/invoke_function_object.cpp b/test/functional/invoke_function_object.cpp index 5f08f650..375bc4c5 100644 --- a/test/functional/invoke_function_object.cpp +++ b/test/functional/invoke_function_object.cpp @@ -1,8 +1,8 @@ /*============================================================================= - Copyright (c) 2005-2006 João Abecasis + Copyright (c) 2005-2006 Joao Abecasis Copyright (c) 2006-2007 Tobias Schwinger - - Use modification and distribution are subject to the Boost Software + + Use modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). ==============================================================================*/ @@ -41,7 +41,7 @@ struct object_nc : boost::noncopyable {}; struct fobj { // Handle nullary separately to exercise result_of support - template + template struct result; template @@ -97,7 +97,7 @@ struct fobj_nc { typedef int type; }; - + int operator()(int i) { return 14 + i; } int operator()(int i) const { return 15 + i; } }; diff --git a/test/functional/invoke_procedure.cpp b/test/functional/invoke_procedure.cpp index 810cb903..2dc93c5a 100644 --- a/test/functional/invoke_procedure.cpp +++ b/test/functional/invoke_procedure.cpp @@ -1,8 +1,8 @@ /*============================================================================= - Copyright (c) 2005-2006 João Abecasis + Copyright (c) 2005-2006 Joao Abecasis Copyright (c) 2006-2007 Tobias Schwinger - - Use modification and distribution are subject to the Boost Software + + Use modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). ==============================================================================*/ @@ -48,10 +48,10 @@ class members { public: int data; - + members() : data(20) - { } + { } int nullary() { return element1 = data + 1; } int nullary_c() const { return element1 = data + 2; }