Made these actually compile

[SVN r11378]
This commit is contained in:
Dave Abrahams committed 2001-10-12 22:22:42 +00:00
1 parent 686f822dea
commit e01de59cdd
3 files changed
+8 -6

No files matched your search

+2 -1
View File
@@ -42,12 +42,13 @@ int main(int, char*[])
// Use indirect iterator to print out numbers by accessing
// them through the array of pointers.
#ifndef BOOST_MSVC
std::cout << "indirectly printing out the numbers from 0 to "
<< N << std::endl;
std::copy(boost::make_indirect_iterator(pointers.begin()),
boost::make_indirect_iterator(pointers.end()),
std::ostream_iterator<int>(std::cout, " "));
std::cout << std::endl;
#endif
return 0;
}