Merge pull request #317 from Eliyahu-Ravuna/patch-18

Typo fixed in C.165
This commit is contained in:
Gabriel Dos Reis
2015-10-12 04:22:53 -07:00

View File

@@ -5971,7 +5971,7 @@ For example, the general `swap()` will copy the elements of two `vector`s being
void f1(N::X& a, N::X& b) void f1(N::X& a, N::X& b)
{ {
std::swap(a,b); // propably not what we we wanted: calls std::swap() std::swap(a,b); // propably not what we wanted: calls std::swap()
} }
The `std::swap()` in `f1()` does exactly what we asked it to do: it calls the `swap()` in namespace `std`. The `std::swap()` in `f1()` does exactly what we asked it to do: it calls the `swap()` in namespace `std`.