mirror of
https://github.com/boostorg/concept_check.git
synced 2025-08-03 14:34:44 +02:00
removed requirement for value_type from Trivial Iterator
[SVN r9432]
This commit is contained in:
@@ -429,9 +429,6 @@ struct require_same { typedef T type; };
|
||||
function_requires< AssignableConcept<TT> >();
|
||||
function_requires< DefaultConstructibleConcept<TT> >();
|
||||
function_requires< EqualityComparableConcept<TT> >();
|
||||
#ifndef BOOST_NO_STD_ITERATOR_TRAITS
|
||||
typedef typename std::iterator_traits<TT>::value_type V;
|
||||
#endif
|
||||
(void)*i; // require dereference operator
|
||||
}
|
||||
TT i;
|
||||
|
Reference in New Issue
Block a user