mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Fixed silly little typo of mine, in test/swap_arrays.cpp
[SVN r47629]
This commit is contained in:
parent
64a0e0cb20
commit
899c92420c
@ -14,7 +14,7 @@
|
|||||||
//Provide swap function in both the namespace of swap_test_class
|
//Provide swap function in both the namespace of swap_test_class
|
||||||
//(which is the global namespace), and the std namespace.
|
//(which is the global namespace), and the std namespace.
|
||||||
//It's common to provide a swap function for a class in both
|
//It's common to provide a swap function for a class in both
|
||||||
//namespaces. Scott Meyers recommends doing so: Effectice C++,
|
//namespaces. Scott Meyers recommends doing so: Effective C++,
|
||||||
//Third Edition, item 25, "Consider support for a non-throwing swap".
|
//Third Edition, item 25, "Consider support for a non-throwing swap".
|
||||||
void swap(swap_test_class& left, swap_test_class& right)
|
void swap(swap_test_class& left, swap_test_class& right)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user