[I.9] fix typo (#1787)

This commit is contained in:
Kie 2021-05-10 12:55:53 +08:00 committed by GitHub
parent 58f91d7cf1
commit 2541e809b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1758,7 +1758,7 @@ Make the interface precisely specified and compile-time checkable in the (not so
Use the C++20 style of requirements specification. For example:
template<typename Iter, typename Val>
// requires InputIterator<Iter> && EqualityComparable<ValueType<Iter>>, Val>
// requires InputIterator<Iter> && EqualityComparable<ValueType<Iter>, Val>
Iter find(Iter first, Iter last, Val v)
{
// ...