|
Boost-Commit : |
From: Alexander.Nasonov_at_[hidden]
Date: 2008-05-07 15:17:09
Author: nasonov
Date: 2008-05-07 15:17:09 EDT (Wed, 07 May 2008)
New Revision: 45200
URL: http://svn.boost.org/trac/boost/changeset/45200
Log:
Fixes #1898 Compilation Error in Any Test
Text files modified:
trunk/libs/any/test.hpp | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
Modified: trunk/libs/any/test.hpp
==============================================================================
--- trunk/libs/any/test.hpp (original)
+++ trunk/libs/any/test.hpp 2008-05-07 15:17:09 EDT (Wed, 07 May 2008)
@@ -232,7 +232,12 @@
template<typename test_iterator>
bool tester<test_iterator>::operator()()
{
- using namespace std;
+ using std::cerr;
+ using std::endl;
+ using std::ends;
+ using std::exception;
+ using std::flush;
+ using std::string;
unsigned long passed = 0, failed = 0, unimplemented = 0;
@@ -251,9 +256,9 @@
unsigned long allocated = allocations::instance().allocated();
unsigned long deallocated = allocations::instance().deallocated();
#ifdef BOOST_NO_STRINGSTREAM
- ostrstream report;
+ std::ostrstream report;
#else
- ostringstream report;
+ std::ostringstream report;
#endif
report << "new/delete ("
<< allocated << " allocated, "
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk