[Boost-bugs] [Boost C++ Libraries] #5231: Unncessary forward declaration of std::pair

Subject: [Boost-bugs] [Boost C++ Libraries] #5231: Unncessary forward declaration of std::pair
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-02-25 15:17:29


#5231: Unncessary forward declaration of std::pair
------------------------------+---------------------------------------------
 Reporter: chrisj | Owner: djowel
     Type: Patches | Status: new
Milestone: To Be Determined | Component: fusion
  Version: Boost 1.45.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 fusion/adapted/std_pair.hpp contains a forward declaration of std::pair.
 This upsets libc++.

 However, <utility> is also (I believe) always included anywhere (at least,
 in every test I did), so the forward declaration isn't very useful anyway.
 This patch just replaces it with a #include <utility>. For me, this very
 slightly decreases the size of the pre-processed file on both mac and
 linux g++.

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