concepts/named: style
This commit is contained in:
parent
07dfd4ef3e
commit
e151d5c8c3
@ -62,10 +62,10 @@ namespace cruft::concepts::named {
|
|||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
concept legacy_iterator =
|
concept legacy_iterator =
|
||||||
std::copy_constructible<T> &&
|
std::copy_constructible<T> &&
|
||||||
copy_assignable<T> &&
|
copy_assignable<T> &&
|
||||||
std::destructible<T> &&
|
std::destructible<T> &&
|
||||||
std::swappable<T> &&
|
std::swappable<T> &&
|
||||||
requires (T t)
|
requires (T t)
|
||||||
{
|
{
|
||||||
typename std::iterator_traits<T>::value_type;
|
typename std::iterator_traits<T>::value_type;
|
||||||
|
Loading…
Reference in New Issue
Block a user