mirror of
https://github.com/boostorg/array.git
synced 2025-07-29 12:17:40 +02:00
Broken iterator fix needs to apply to the Intel compiler too, because it uses the MSVC library
[SVN r8639]
This commit is contained in:
@ -48,11 +48,11 @@ namespace boost {
|
||||
const_iterator end() const { return elems+N; }
|
||||
|
||||
// reverse iterator support
|
||||
#if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
||||
#if !defined(BOOST_MSVC_STD_ITERATOR)
|
||||
typedef std::reverse_iterator<iterator> reverse_iterator;
|
||||
typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
|
||||
#else
|
||||
// workaround for broken reverse_iterator implementations due to no partial specialization
|
||||
// workaround for broken reverse_iterator implementations
|
||||
typedef std::reverse_iterator<iterator,T> reverse_iterator;
|
||||
typedef std::reverse_iterator<const_iterator,T> const_reverse_iterator;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user