summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/memgrp.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/examples/memgrp.cpp b/examples/memgrp.cpp
index 5501d71..a365e74 100644
--- a/examples/memgrp.cpp
+++ b/examples/memgrp.cpp
@@ -2,10 +2,8 @@
class Test
{
public:
- /** @name Group1
- */
//@{
- /** Function 1 in group 1. Details. */
+ /** Same documentation for both members. Details */
void func1InGroup1();
void func2InGroup1();
//@}
@@ -30,3 +28,13 @@ void Test::func2InGroup2() {}
void Test::func1InGroup2() {}
//@}
+/*! \file
+ * docs for this file
+ */
+
+//@{
+//! one description for all members of this group
+#define A 1
+#define B 2
+void glob_func();
+//@}