Compare commits

...

3 Commits

Author SHA1 Message Date
c27d8ec8fc This commit was manufactured by cvs2svn to create tag
'Version_1_17_0'.

[SVN r8293]
2000-11-22 09:04:29 +00:00
be4b817c83 This commit was manufactured by cvs2svn to create branch
'boost-graph-library'.

[SVN r7698]
2000-09-09 10:20:25 +00:00
13f6d43e5e 1.16.1 initial CVS checkin
[SVN r7620]
2000-07-07 16:04:40 +00:00
3 changed files with 5 additions and 3 deletions

View File

@ -53,7 +53,7 @@ using std::cin;
namespace opt{
//
// algorithm destroy_array:
// algorithm destroy_arry:
// The reverse of std::unitialized_copy, takes a block of
// unitialized memory and calls destructors on all objects therein.
//

View File

@ -240,7 +240,7 @@ int main()
type_test(const int&, boost::call_traits<cr_type>::const_reference)
type_test(int&, boost::call_traits<cr_type>::param_type)
#else
std::cout << "Your compiler cannot instantiate call_traits<int&const>, skipping four tests (4 errors)" << std::endl;
std::cout << "GNU C++ cannot instantiate call_traits<cr_type>, skipping four tests (4 errors)" << std::endl;
failures += 4;
test_count += 4;
#endif
@ -342,6 +342,7 @@ void call_traits_test<T, true>::assert_construct(boost::call_traits<T>::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<int>;
@ -353,3 +354,4 @@ template struct call_traits_test<const int&>;
template struct call_traits_test<int[2], true>;
#endif

View File

@ -76,7 +76,7 @@ struct call_traits<T&>
typedef T& param_type; // hh removed const
};
#if defined(__BORLANDC__) && (__BORLANDC__ <= 0x551)
#if defined(__BORLANDC__) && (__BORLANDC__ <= 0x550)
// 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