mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
[I.9] fix typo (#1787)
This commit is contained in:
parent
58f91d7cf1
commit
2541e809b6
|
@ -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)
|
||||
{
|
||||
// ...
|
||||
|
|
Loading…
Reference in New Issue
Block a user