ROSE
0.11.131.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
src
Rose
RecursionCounter.h
1
#ifndef ROSE_RecursionCounter_H
2
#define ROSE_RecursionCounter_H
3
4
namespace
Rose
{
5
23
struct
RecursionCounter
{
24
size_t
&depth;
25
26
RecursionCounter
(
size_t
&depth): depth(depth) {
27
++depth;
28
}
29
30
~
RecursionCounter
() {
31
--depth;
32
}
33
};
34
35
}
// namespace
36
37
#endif
Rose
Main namespace for the ROSE library.
Definition:
BinaryTutorial.dox:3
Rose::RecursionCounter
Track recursion depth in a function.
Definition:
RecursionCounter.h:23
Generated on Mon May 29 2023 06:09:54 for ROSE by
1.8.10