summaryrefslogtreecommitdiff
path: root/boost/fusion/view/zip_view/zip_view_iterator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/view/zip_view/zip_view_iterator.hpp')
-rw-r--r--boost/fusion/view/zip_view/zip_view_iterator.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/boost/fusion/view/zip_view/zip_view_iterator.hpp b/boost/fusion/view/zip_view/zip_view_iterator.hpp
index fec50e6..cf2d763 100644
--- a/boost/fusion/view/zip_view/zip_view_iterator.hpp
+++ b/boost/fusion/view/zip_view/zip_view_iterator.hpp
@@ -35,7 +35,7 @@ namespace boost { namespace fusion {
typedef Traversal category;
template<typename InitSeq>
- BOOST_FUSION_GPU_ENABLED
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
zip_view_iterator(
const InitSeq& iterator_seq)
: iterators_(iterator_seq)
@@ -46,4 +46,13 @@ namespace boost { namespace fusion {
};
}}
+#ifdef BOOST_FUSION_WORKAROUND_FOR_LWG_2408
+namespace std
+{
+ template <typename IteratorSequence, typename Traversal>
+ struct iterator_traits< ::boost::fusion::zip_view_iterator<IteratorSequence, Traversal> >
+ { };
+}
+#endif
+
#endif