[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-bugs
Subject: [Boost-bugs] [Boost C++ Libraries] #5231: Unncessary forward
From: "Boost C++ Libraries" <noreply () lists ! boost ! org>
Date: 2011-02-25 15:17:29
Message-ID: 039.0fd0e6f5e8d2faf9ca21153adb8258e1 () lists ! boost ! org
[Download RAW message or body]
#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.
_______________________________________________
Boost-bugs mailing list
Boost-bugs@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic