concepts/named: style

This commit is contained in:
Danny Robson 2024-08-10 14:18:08 +10:00
parent 07dfd4ef3e
commit e151d5c8c3

View File

@ -62,10 +62,10 @@ namespace cruft::concepts::named {
template <typename T>
concept legacy_iterator =
std::copy_constructible<T> &&
copy_assignable<T> &&
std::copy_constructible<T> &&
copy_assignable<T> &&
std::destructible<T> &&
std::swappable<T> &&
std::swappable<T> &&
requires (T t)
{
typename std::iterator_traits<T>::value_type;