SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
Macros.h File Reference
#include <type_traits>
Include dependency graph for Macros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SOURCEPP_CONCAT_DETAIL(a, b)   a##b
 
#define SOURCEPP_CONCAT(a, b)   SOURCEPP_CONCAT_DETAIL(a, b)
 
#define SOURCEPP_DEBUG_BREAK
 Create a breakpoint in debug.
 
#define SOURCEPP_UNIQUE_NAME(base)   SOURCEPP_CONCAT(base, __LINE__)
 Adds the current line number to the given base.
 
#define SOURCEPP_BITFLAGS_ENUM(Enum)
 Defines bitwise operators for an enum or enum class.
 

Macro Definition Documentation

◆ SOURCEPP_BITFLAGS_ENUM

#define SOURCEPP_BITFLAGS_ENUM (   Enum)

Defines bitwise operators for an enum or enum class.

Definition at line 26 of file Macros.h.

◆ SOURCEPP_CONCAT

#define SOURCEPP_CONCAT (   a,
 
)    SOURCEPP_CONCAT_DETAIL(a, b)

Definition at line 7 of file Macros.h.

◆ SOURCEPP_CONCAT_DETAIL

#define SOURCEPP_CONCAT_DETAIL (   a,
 
)    a##b

Definition at line 6 of file Macros.h.

◆ SOURCEPP_DEBUG_BREAK

#define SOURCEPP_DEBUG_BREAK

Create a breakpoint in debug.

Definition at line 19 of file Macros.h.

◆ SOURCEPP_UNIQUE_NAME

#define SOURCEPP_UNIQUE_NAME (   base)    SOURCEPP_CONCAT(base, __LINE__)

Adds the current line number to the given base.

Definition at line 23 of file Macros.h.