summaryrefslogtreecommitdiff
path: root/boost/fusion/iterator/iterator_facade.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/iterator/iterator_facade.hpp')
-rw-r--r--boost/fusion/iterator/iterator_facade.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/boost/fusion/iterator/iterator_facade.hpp b/boost/fusion/iterator/iterator_facade.hpp
index 415e841..1760957 100644
--- a/boost/fusion/iterator/iterator_facade.hpp
+++ b/boost/fusion/iterator/iterator_facade.hpp
@@ -14,6 +14,7 @@
#include <boost/fusion/support/category_of.hpp>
#include <boost/type_traits/is_same.hpp>
#include <boost/mpl/assert.hpp>
+#include <boost/mpl/if.hpp>
namespace boost { namespace fusion
{
@@ -55,4 +56,13 @@ namespace boost { namespace fusion
};
}}
+#ifdef BOOST_FUSION_WORKAROUND_FOR_LWG_2408
+namespace std
+{
+ template <typename Derived, typename Category>
+ struct iterator_traits< ::boost::fusion::iterator_facade<Derived, Category> >
+ { };
+}
+#endif
+
#endif