Horizon
Loading...
Searching...
No Matches
src
util
once.hpp
1
#pragma once
2
3
namespace
horizon {
4
class
Once
{
5
public
:
6
bool
operator()()
7
{
8
if
(first) {
9
first =
false
;
10
return
true
;
11
}
12
return
false
;
13
}
14
15
private
:
16
bool
first =
true
;
17
};
18
}
// namespace horizon
horizon::Once
Definition
once.hpp:4
Generated by
1.9.8