[Boost-bugs] [Boost C++ Libraries] #6524: Better header segregation

Subject: [Boost-bugs] [Boost C++ Libraries] #6524: Better header segregation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-05 11:35:59

#6524: Better header segregation
 Reporter: andysem | Owner: igaztanaga
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: move
  Version: Boost 1.48.0 | Severity: Optimization
 Keywords: |
 Please, provide better segregated headers. Currently, including
 <boost/move/move.hpp> causes inclusion of a few heavy STL headers
 (algorithm, memory) along with several Boost headers. Most of these
 dependencies are required to implement move algorithms and iterators.

 I would like to have a header that only defines facilities to define
 movable classes (the BOOST_RV_REF and other related macros). Ideally, when
 C++11 rvalue references are supported by compiler, this header should not
 include anything but <boost/config.hpp>. When native rvalue references are
 not available, the header should only contain facilities to implement move
 emulation (boost::rv and related).

 Algorithms (move, forward, etc.) and iterators should be available through
 separate headers. Preferably, move and forward algorithms should be
 available in their own headers as these ones are often the only algorithms
 needed in the user's code.

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