mirror of
https://github.com/boostorg/detail.git
synced 2025-07-30 20:37:14 +02:00
Added nested typedefs in iterator_traits<int> for ETI cutoff
[SVN r19920]
This commit is contained in:
@ -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