Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-04-03 16:58:22


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.)


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