Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70731 - trunk/boost/fusion/adapted
From: joel_at_[hidden]
Date: 2011-03-29 20:23:24


Author: djowel
Date: 2011-03-29 20:23:23 EDT (Tue, 29 Mar 2011)
New Revision: 70731
URL: http://svn.boost.org/trac/boost/changeset/70731

Log:
Include <utility> instead of forward declaring std::pair
Text files modified:
   trunk/boost/fusion/adapted/std_pair.hpp | 7 +------
   1 files changed, 1 insertions(+), 6 deletions(-)

Modified: trunk/boost/fusion/adapted/std_pair.hpp
==============================================================================
--- trunk/boost/fusion/adapted/std_pair.hpp (original)
+++ trunk/boost/fusion/adapted/std_pair.hpp 2011-03-29 20:23:23 EDT (Tue, 29 Mar 2011)
@@ -11,12 +11,7 @@
 #define BOOST_FUSION_ADAPTED_STD_PAIR_HPP
 
 #include <boost/fusion/adapted/struct/adapt_struct.hpp>
-
-namespace std
-{
- template<class T1, class T2>
- struct pair;
-}
+#include <utility>
 
 BOOST_FUSION_ADAPT_TPL_STRUCT(
     (T1)(T2),(std::pair)(T1)(T2),(T1, first)(T2, second))


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk