Merging changes to release; fixes #4761

[SVN r68100]
This commit is contained in:
Marshall Clow
2011-01-13 15:49:03 +00:00
parent 9644ee6662
commit 26edbea113
3 changed files with 52 additions and 16 deletions

View File

@ -39,6 +39,13 @@ int main()
=seasons.rbegin(); pos<seasons.rend(); ++pos) {
std::cout << " " << *pos;
}
// try constant reverse iterators
std::cout << "reverse: ";
for (boost::array<std::string,4>::const_reverse_iterator pos
=seasons.crbegin(); pos<seasons.crend(); ++pos) {
std::cout << " " << *pos;
}
std::cout << std::endl;
return 0; // makes Visual-C++ compiler happy