[Boost-bugs] [Boost C++ Libraries] #11595: boost container forward declares names from the std namespace illegally

Subject: [Boost-bugs] [Boost C++ Libraries] #11595: boost container forward declares names from the std namespace illegally
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-08-27 18:49:05


#11595: boost container forward declares names from the std namespace illegally
------------------------------+------------------------
 Reporter: mgaunard | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: container
  Version: Boost 1.58.0 | Severity: Problem
 Keywords: |
------------------------------+------------------------
 Header <boost/container/detail/std_fwd.hpp> forward-declares stuff from
 the std namespace, which is illegal as per the C++ standard.
 It tries to detect the standard library to know it can do it safely, but
 this is imperfect and fails on more exotic standard library
 implementations.

 Code should be modified so that it falls back to including the right
 headers if dealing with an unknown standard library.

 It should also use better standard library detection logic based on
 boost.config instead of checking directly for libc++ and libstdc++ defines
 (indeed, some standard libraries sit on top of others, like STLPort).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11595>
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:50:18 UTC