master
Daniel Kolesa 2016-09-11 21:21:07 +02:00
parent 519c9c7624
commit 9d174013e6
1 changed files with 3 additions and 1 deletions

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());
}