[Boost-bugs] [Boost C++ Libraries] #1765: Need a macro to determine whether basic streams are present

Subject: [Boost-bugs] [Boost C++ Libraries] #1765: Need a macro to determine whether basic streams are present
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-03 21:21:27


#1765: Need a macro to determine whether basic streams are present
----------------------------------------------+-----------------------------
 Reporter: Andrew Eames <andrew_at_[hidden]> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: config
  Version: Boost 1.35.0 | Severity: Problem
 Keywords: macro ostream basic_ostream |
----------------------------------------------+-----------------------------
 shared_ptr.hpp line 560 (boost 1.35)reads
 #if defined(__GNUC__) && (__GNUC__ < 3)
  template<class Y> std::ostream & operator<< (std::ostream & os,
  shared_ptr<Y> const & p) ...

 The test should be something more generic - Peter Dimov suggested
 BOOST_NO_BASIC_STREAM as a new boost macro - then this code can compile
 for other (unsupported) compilers

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1765>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC