|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62698 - in trunk/boost/variant: . detail
From: steven_at_[hidden]
Date: 2010-06-09 19:41:38
Author: steven_watanabe
Date: 2010-06-09 19:41:38 EDT (Wed, 09 Jun 2010)
New Revision: 62698
URL: http://svn.boost.org/trac/boost/changeset/62698
Log:
Add missing #includes. Fixes #3515
Text files modified:
trunk/boost/variant/detail/apply_visitor_binary.hpp | 4 ++++
trunk/boost/variant/detail/apply_visitor_unary.hpp | 4 ++++
trunk/boost/variant/variant.hpp | 1 +
3 files changed, 9 insertions(+), 0 deletions(-)
Modified: trunk/boost/variant/detail/apply_visitor_binary.hpp
==============================================================================
--- trunk/boost/variant/detail/apply_visitor_binary.hpp (original)
+++ trunk/boost/variant/detail/apply_visitor_binary.hpp 2010-06-09 19:41:38 EDT (Wed, 09 Jun 2010)
@@ -19,7 +19,11 @@
#include "boost/variant/detail/apply_visitor_unary.hpp"
+#if BOOST_WORKAROUND(__EDG__, BOOST_TESTED_AT(302))
#include "boost/utility/enable_if.hpp"
+#include "boost/mpl/not.hpp"
+#include "boost/type_traits/is_const.hpp"
+#endif
namespace boost {
Modified: trunk/boost/variant/detail/apply_visitor_unary.hpp
==============================================================================
--- trunk/boost/variant/detail/apply_visitor_unary.hpp (original)
+++ trunk/boost/variant/detail/apply_visitor_unary.hpp 2010-06-09 19:41:38 EDT (Wed, 09 Jun 2010)
@@ -17,7 +17,11 @@
#include "boost/detail/workaround.hpp"
#include "boost/variant/detail/generic_result_type.hpp"
+#if BOOST_WORKAROUND(__EDG__, BOOST_TESTED_AT(302))
#include "boost/utility/enable_if.hpp"
+#include "boost/mpl/not.hpp"
+#include "boost/type_traits/is_const.hpp"
+#endif
namespace boost {
Modified: trunk/boost/variant/variant.hpp
==============================================================================
--- trunk/boost/variant/variant.hpp (original)
+++ trunk/boost/variant/variant.hpp 2010-06-09 19:41:38 EDT (Wed, 09 Jun 2010)
@@ -56,6 +56,7 @@
#include "boost/mpl/eval_if.hpp"
#include "boost/mpl/begin_end.hpp"
#include "boost/mpl/bool.hpp"
+#include "boost/mpl/not.hpp"
#include "boost/mpl/empty.hpp"
#include "boost/mpl/find_if.hpp"
#include "boost/mpl/front.hpp"
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