Raito 0.1
Loading...
Searching...
No Matches
Common.h File Reference
#include "BasicTypes.h"
#include "Assert.h"
#include <memory>
Include dependency graph for Common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEBUG_OP(x)
 
#define DEFAULT_COPY(T)
 
#define DEFAULT_MOVE(T)
 
#define DEFAULT_MOVE_AND_COPY(T)
 
#define DISABLE_COPY(T)
 
#define DISABLE_MOVE(T)
 
#define DISABLE_MOVE_AND_COPY(T)
 
#define NODISCARD   [[nodiscard]]
 
#define USE_STL_VECTOR   1
 

Macro Definition Documentation

◆ DEBUG_OP

#define DEBUG_OP ( x)

◆ DEFAULT_COPY

#define DEFAULT_COPY ( T)
Value:
T(const T&) = default; \
T& operator=(const T&) = default;

◆ DEFAULT_MOVE

#define DEFAULT_MOVE ( T)
Value:
T(T&&) noexcept = default; \
T& operator=(T&&) = default;

◆ DEFAULT_MOVE_AND_COPY

#define DEFAULT_MOVE_AND_COPY ( T)
Value:
DEFAULT_COPY(T)
#define DEFAULT_MOVE(T)
Definition Common.h:49

◆ DISABLE_COPY

#define DISABLE_COPY ( T)
Value:
T(const T&) = delete; \
T& operator=(const T&) = delete;

◆ DISABLE_MOVE

#define DISABLE_MOVE ( T)
Value:
T(T&&) = delete; \
T& operator=(T&&) = delete;

◆ DISABLE_MOVE_AND_COPY

#define DISABLE_MOVE_AND_COPY ( T)
Value:
DISABLE_COPY(T)
#define DISABLE_MOVE(T)
Definition Common.h:69

◆ NODISCARD

#define NODISCARD   [[nodiscard]]

◆ USE_STL_VECTOR

#define USE_STL_VECTOR   1