update from Nico

[SVN r10918]
This commit is contained in:
Jens Maurer
2001-08-23 20:33:35 +00:00
parent 7f73413eed
commit f96ac657dd
15 changed files with 65 additions and 49 deletions

View File

@ -47,11 +47,11 @@ int main()
c = a;
if (a==b && a==c) {
std::cout << "copy construction and copy assignment are OK"
<< std::endl;
<< std::endl;
}
else {
std::cout << "copy construction and copy assignment are OK"
<< std::endl;
std::cout << "copy construction and copy assignment are BROKEN"
<< std::endl;
}
typedef boost::array<double,6> DArray;
@ -60,6 +60,7 @@ int main()
DArray da;
da = ia;
da.assign(42);
return 0;
return 0; // makes Visual-C++ compiler happy
}