mirror of
https://github.com/boostorg/container.git
synced 2025-07-31 13:07:17 +02:00
Check Boost.Move's BOOST_MOVE_CONTIGUOUS_ITERATOR_TAG before using contiguous_iterator_tag
This commit is contained in:
@ -82,7 +82,9 @@ class vec_iterator
|
||||
{
|
||||
public:
|
||||
typedef std::random_access_iterator_tag iterator_category;
|
||||
#ifdef BOOST_MOVE_CONTIGUOUS_ITERATOR_TAG
|
||||
typedef std::contiguous_iterator_tag iterator_concept;
|
||||
#endif
|
||||
typedef typename boost::intrusive::pointer_traits<Pointer>::element_type value_type;
|
||||
|
||||
//Defining element_type to make libstdc++'s std::pointer_traits well-formed leads to ambiguity
|
||||
|
Reference in New Issue
Block a user