This commit is contained in:
q66 2016-09-11 21:21:07 +02:00
parent 519c9c7624
commit 9d174013e6

View file

@ -74,7 +74,9 @@ struct Array {
return ConstRange(p_buf, p_buf + N);
}
void swap(Array &v) noexcept(noexcept(swap(declval<T &>(), declval<T &>()))) {
void swap(Array &v) noexcept(
noexcept(ostd::swap(declval<T &>(), declval<T &>()))
) {
ostd::swap_ranges(iter(), v.iter());
}