-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcppmacros.h
More file actions
67 lines (58 loc) · 1.97 KB
/
Copy pathcppmacros.h
File metadata and controls
67 lines (58 loc) · 1.97 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//
//
/////////////////////////////////////////////////////////////////////////////
#pragma once
#ifndef __HAS_CPPMACROS_LIB_H__
#define __HAS_CPPMACROS_LIB_H__
/*! \file cppmacros.h
\brief Main file for CppMacros include.
The file contains includes of all library files and macros for managing them. If is included, then macros __HAS_CPPMACROS_LIB_H__ is defined
*/
#include <macroslib.h>
#include "config.h"
#ifdef __DOXYGEN__
/*!
\brief Macros for disable include operators section. But if other files depend for them, then ignored.
Operators section contain macros with operators, modifiers and attributes, change the syntax and perception of the language.
*/
#define CPPMACROS_NO_OPERATORS
#endif // __DOXYGEN__
#ifndef CPPMACROS_NO_OPERATORS
#include "operators/cache.h"
#include "operators/concept.h"
#include "operators/constexpr.h"
#include "operators/enum.h"
#include "operators/fallthrough.h"
#include "operators/for.h"
#include "operators/foreach.h"
#include "operators/if.h"
#include "operators/interface.h"
#include "operators/lambda.h"
#include "operators/main.h"
#include "operators/modules.h"
#include "operators/noexcept.h"
#include "operators/pointers.h"
#include "operators/return.h"
#include "operators/swap.h"
#include "operators/switch.h"
#include "operators/unused.h"
#include "operators/while.h"
#endif // CPPMACROS_NO_OPERATORS
#ifdef __DOXYGEN__
/*!
\brief Macros for disable include code common macroses section. But if other files depend for them, then ignored.
Common section contain complex macros for simplify evreyday tasks.
*/
#define CPPMACROS_NO_COMMON
#endif // __DOXYGEN__
#ifndef CPPMACROS_NO_COMMON
#include "common/containers.h"
#include "common/debug.h"
#include "common/interfaces.h"
#include "common/property.h"
#include "common/templates.h"
#include "common/lang.h"
#include "common/versions.h"
#endif // CPPMACROS_NO_COMMON
/////////////////////////////////////////////////////////////////////////////
#endif // __HAS_CPPMACROS_LIB_H__