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