
3 Apr
2008
3 Apr
'08
8:58 p.m.
Eames, Andrew:
Hi,
In shared_ptr.hpp, line 560 there is code that reads
#if defined(__GNUC__) && (__GNUC__ < 3)
template<class Y> std::ostream & operator<< (std::ostream & os, shared_ptr<Y> const & p)
{
blah blah blah
Can we have a boost macro for this that says whether we have old style iostreams (or is there one I missed? - the closest I could find was BOOST_NO_STRINGSTREAM) so I can compile this on my cheesy compiler without having to edit the boost source?
Can you please file a Trac ticket for this? I see that I've added support for BOOST_NO_IOSTREAM in the trunk, but not for old-style streams (BOOST_NO_BASIC_STREAM looks like a good name for this new macro.)