Typo fixed in C.165

This commit is contained in:
Eliyahu Ravuna 2015-10-11 00:21:19 +03:00
parent 592d67ea12
commit a7459b4164

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`.