1
0
forked from boostorg/move

Forward declare std::contiguous_iterator_tag only when the standard library defines it

This commit is contained in:
Ion Gaztañaga
2022-01-04 16:27:43 +01:00
parent bd91ec0259
commit 78f26da1f3

View File

@ -33,8 +33,17 @@ struct forward_iterator_tag;
struct bidirectional_iterator_tag;
struct random_access_iterator_tag;
struct output_iterator_tag;
#if ( (defined(BOOST_GNU_STDLIB) && (__cplusplus > 201703L))\
|| (defined(_LIBCPP_VERSION) && (_LIBCPP_STD_VER > 17))\
|| (defined(_YVALS) && defined(_CPPLIB_VER) && defined(__cpp_lib_concepts))\
|| (__cplusplus >= 202002L)\
)
# define BOOST_MOVE_CONTIGUOUS_ITERATOR_TAG
struct contiguous_iterator_tag;
#endif
BOOST_MOVE_STD_NS_END
#include <boost/move/detail/std_ns_end.hpp>