1 // objective: test \ref command in combination with const
2 // check: struct_foo.xml
5 * @see @ref Foo::Foo() constructor for details.
6 * @see @ref Foo constant.
7 * @see @ref operator<<(int) "less than operator".
8 * @see @ref operator<<(int) const "const less than operator".
9 * @see @ref operator()(int) "call operator".
10 * @see @ref operator()(int) const "const call operator".
11 * @see @ref operator&=(const Foo&) "and equal operator".
12 * @see @ref operator->*(int *) "member pointer operator".
22 * - @ref fun() const "title"
24 static Foo fun(Foo a, Foo b);
26 /** overloaded less than operator */
27 Foo& operator<< (int i);
29 /** overloaded const less than operator */
30 const Foo& operator<< (int i) const;
32 /** overloaded call operator */
33 int operator()(int i);
35 /** overloaded call operator */
36 int operator()(int i) const;
38 /** and equal operator */
39 Foo& operator&=(const Foo& rhs);
41 /** and equal operator */
42 Foo& operator&=(const Foo& rhs);
44 /** Member pointer operator */
45 int* operator->*(int *p);
47 /** @brief Fun with itself */