-
Notifications
You must be signed in to change notification settings - Fork 36
/
cpp.hpp
47 lines (38 loc) · 878 Bytes
/
cpp.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#pragma test
#include <test>
#define TEST_CONST 0
#ifndef TEST_IF_N_DEF
#define TEST_IF_N_DEF TEST_CONST
#endif
namespace testNamespace {
inline namespace testInlineNameSpace {
/// Test Comment
class testClass {
public:
std::function<void(float const test_var)> test_func;
void run()
{
using std::test_using_block;
bool test_auto_const_var = true;
while (test_auto_const_var) {
int localSwitchVar = 1
private_switch_funct(localSwitchVar);
if (localSwitchVar != 0) {
private_switch_funct(private_switch_funct);
}
}
}
private:
void private_switch_func(int switchVar)
{
switch (switchVar) {
case 1:
break;
default:
switchVar = 0;
break;
}
}
}
};
}