Boost logo

Boost :

From: Eames, Andrew (andrew_at_[hidden])
Date: 2008-04-03 16:48:55


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?

(This was the only compilation error I got on upgrade to 1.35 with my
unsupported embedded compiler)

Thanks

  Andrew

 


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk