summaryrefslogtreecommitdiff
path: root/src/util/recursion_breaker.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2011-05-23 23:15:25 +0000
committerMorgan Deters <mdeters@gmail.com>2011-05-23 23:15:25 +0000
commit5707fbf2af8c3a941ce3249cf0cb3190a5b069e4 (patch)
tree084d0868ffcf319c8a92b3e4e65080a1709ce61d /src/util/recursion_breaker.h
parent3f7f9df5f0c419b7f7dd39e32852161f406a441f (diff)
fixes for "make dist" and "make doc", minor cleanups
Diffstat (limited to 'src/util/recursion_breaker.h')
-rw-r--r--src/util/recursion_breaker.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/recursion_breaker.h b/src/util/recursion_breaker.h
index 6573e9b64..1146a4429 100644
--- a/src/util/recursion_breaker.h
+++ b/src/util/recursion_breaker.h
@@ -18,6 +18,7 @@
** A breadcrumb trail is left, and a function can query the breaker
** to see if recursion has occurred. For example:
**
+ ** @code
** int foo(int x) {
** RecursionBreaker<int> breaker("foo", x);
** if(breaker.isRecursion()) {
@@ -33,6 +34,7 @@
** cout << "x == " << x << ", y == " << y << " ==> " << z << endl;
** return z;
** }
+ ** @endcode
**
** Recursion occurs after a while in this example, and the recursion
** is broken by the RecursionBreaker.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback