Macros
util.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

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

Macro Definition Documentation

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

Definition at line 17 of file util.hpp.

#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.

Definition at line 7 of file util.hpp.



hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:09:50