new macro request

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

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

Done - #1765 Andrew -----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Peter Dimov Sent: Thursday, April 03, 2008 4:58 PM To: boost@lists.boost.org Subject: Re: [boost] new macro request 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.) _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost -- BEGIN-ANTISPAM-VOTING-LINKS ------------------------------------------------------ NOTE: This message was trained as non-spam. If this is wrong, please correct the training as soon as possible. Teach CanIt if this mail (ID 11463416) is spam: Spam: http://mail-gw.cognex.com/canit/b.php?c=s&i=11463416&m=b0791fec8793 Not spam: http://mail-gw.cognex.com/canit/b.php?c=n&i=11463416&m=b0791fec8793 Forget vote: http://mail-gw.cognex.com/canit/b.php?c=f&i=11463416&m=b0791fec8793 ------------------------------------------------------ END-ANTISPAM-VOTING-LINKS
participants (2)
-
Eames, Andrew
-
Peter Dimov