forked from boostorg/core
Added nested typedefs in iterator_traits<int> for ETI cutoff
[SVN r19920]
This commit is contained in:
committed by
Peter Dimov
parent
c19196f83e
commit
eb65a92082
@@ -424,7 +424,14 @@ struct iterator_traits
|
||||
};
|
||||
|
||||
// This specialization cuts off ETI (Early Template Instantiation) for MSVC.
|
||||
template <> struct iterator_traits<int>{};
|
||||
template <> struct iterator_traits<int>
|
||||
{
|
||||
typedef int value_type;
|
||||
typedef int pointer;
|
||||
typedef int reference;
|
||||
typedef int difference_type;
|
||||
typedef int iterator_category;
|
||||
};
|
||||
|
||||
}} // namespace boost::detail
|
||||
|
||||
|
Reference in New Issue
Block a user