forked from boostorg/core
Fixed silly little typo of mine, in test/swap_arrays.cpp
[SVN r47629]
This commit is contained in:
committed by
Andrey Semashev
parent
8696fdaaa6
commit
8a0f67713f
@@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user