diff --git a/algo_opt_examples.cpp b/algo_opt_examples.cpp index 759a0ed..c35595d 100644 --- a/algo_opt_examples.cpp +++ b/algo_opt_examples.cpp @@ -53,7 +53,7 @@ using std::cin; namespace opt{ // -// algorithm destroy_arry: +// algorithm destroy_array: // The reverse of std::unitialized_copy, takes a block of // unitialized memory and calls destructors on all objects therein. // diff --git a/call_traits_test.cpp b/call_traits_test.cpp index 4bb66b6..710657a 100644 --- a/call_traits_test.cpp +++ b/call_traits_test.cpp @@ -240,7 +240,7 @@ int main() type_test(const int&, boost::call_traits::const_reference) type_test(int&, boost::call_traits::param_type) #else - std::cout << "GNU C++ cannot instantiate call_traits, skipping four tests (4 errors)" << std::endl; + std::cout << "Your compiler cannot instantiate call_traits, skipping four tests (4 errors)" << std::endl; failures += 4; test_count += 4; #endif @@ -342,7 +342,6 @@ void call_traits_test::assert_construct(boost::call_traits::param_ty param_type p4(p); } #endif //BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION - // // now check call_traits assertions by instantiating call_traits_test: template struct call_traits_test; @@ -354,4 +353,3 @@ template struct call_traits_test; template struct call_traits_test; #endif - diff --git a/include/boost/detail/call_traits.hpp b/include/boost/detail/call_traits.hpp index 8d02eca..304a686 100644 --- a/include/boost/detail/call_traits.hpp +++ b/include/boost/detail/call_traits.hpp @@ -76,7 +76,7 @@ struct call_traits typedef T& param_type; // hh removed const }; -#if defined(__BORLANDC__) && (__BORLANDC__ <= 0x550) +#if defined(__BORLANDC__) && (__BORLANDC__ <= 0x551) // these are illegal specialisations; cv-qualifies applied to // references have no effect according to [8.3.2p1], // C++ Builder requires them though as it treats cv-qualified