HEBI C++ API  1.0.0
util.hpp File Reference

Go to the source code of this file.

Macros

#define HEBI_DISABLE_COPY_MOVE(Class)
 
#define HEBI_DISABLE_COPY(Class)
 

Macro Definition Documentation

#define HEBI_DISABLE_COPY_MOVE (   Class)
Value:
/* Disable copy constructor. */ \
Class(const Class& other) = delete; \
/* Disable move constructor. */ \
Class(const Class&& other) = delete; \
/* Disable copy assigment operator. */ \
Class& operator= (const Class& other) = delete; \
/* Disable move assigment operator. */ \
Class& operator= (const Class&& other) = delete;

This file defines helper macros to make the other files more readable.

#define HEBI_DISABLE_COPY (   Class)
Value:
/* Disable copy constructor. */ \
Class(const Class& other) = delete; \
/* Disable copy assigment operator. */ \
Class& operator= (const Class& other) = delete;