forked from boostorg/static_string
Adjust is_iterator
This commit is contained in:
@ -73,11 +73,8 @@ struct is_iterator : std::false_type { };
|
||||
|
||||
template<class T>
|
||||
struct is_iterator<T,
|
||||
void_t<typename T::difference_type,
|
||||
typename T::value_type,
|
||||
typename T::pointer,
|
||||
typename T::reference,
|
||||
typename T::iterator_category>>
|
||||
typename std::enable_if<std::is_class<T>::value,
|
||||
void_t<typename T::iterator_category>>::type>
|
||||
: std::true_type { };
|
||||
|
||||
template<class T>
|
||||
|
Reference in New Issue
Block a user