mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Typo fixed in C.165
This commit is contained in:
parent
592d67ea12
commit
a7459b4164
|
@ -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)
|
||||
{
|
||||
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`.
|
||||
|
|
Loading…
Reference in New Issue
Block a user