summaryrefslogtreecommitdiffstats
path: root/testing/074_ref.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'testing/074_ref.cpp')
-rw-r--r--testing/074_ref.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/074_ref.cpp b/testing/074_ref.cpp
index d283907..cc9cf4a 100644
--- a/testing/074_ref.cpp
+++ b/testing/074_ref.cpp
@@ -13,6 +13,7 @@
* @see @ref operator()(int) "call operator".
* @see @ref operator()(int) const "const call operator".
* @see @ref operator&=(const Foo&) "and equal operator".
+ * @see @ref operator&=(const Foo&) const "const and equal operator".
* @see @ref operator->*(int *) "member pointer operator".
*/
struct Foo {
@@ -43,7 +44,7 @@ struct Foo {
Foo& operator&=(const Foo& rhs);
/** and equal operator */
- Foo& operator&=(const Foo& rhs);
+ const Foo& operator&=(const Foo& rhs) const;
/** Member pointer operator */
int* operator->*(int *p);