Re: [Boost-bugs] [Boost C++ Libraries] #2111: boost headers always include too many platform headers

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2111: boost headers always include too many platform headers
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-04-20 11:46:57


#2111: boost headers always include too many platform headers
-------------------------------+--------------------------------------------
  Reporter: Alessio | Owner: johnmaddock
      Type: Feature Requests | Status: closed
 Milestone: Boost 1.36.0 | Component: config
   Version: Boost 1.35.0 | Severity: Problem
Resolution: wontfix | Keywords:
-------------------------------+--------------------------------------------
Changes (by johnmaddock):

  * status: new => closed
  * resolution: => wontfix

Comment:

 The current Boost.Config has been changed to include <cstddef> rather than
 <utility> which cuts down the platform #includes somewhat.

 Other than that, I don't see how we can streamline this: the std lib and
 platform feature detection code has to include a certain number of
 platform headers to work. I also note that the biggest pull-in of headers
 in your example comes from <memory>, are you really suggesting that
 shared_ptr could live without that #include?

 Sorry, but I don't see this as a bug.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2111#comment:4>
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:00 UTC