Gromacs  2022.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
classhelpers.h File Reference
+ This graph shows which files directly or indirectly include this file:

Description

Declares common utility classes and macros.

This header contains helpers used to implement classes in the library. It is installed, because the helpers are used in installed headers, but typically users of the library should not need to be aware of these helpers.

Author
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

Macros

#define GMX_DISALLOW_COPY_AND_ASSIGN(ClassName)
 Macro to declare a class non-copyable and non-assignable. More...
 
#define GMX_DISALLOW_COPY_MOVE_AND_ASSIGN(ClassName)
 Macro to declare a class non-copyable, non-movable, non-copy-assignable and non-move-assignable. More...
 
#define GMX_DISALLOW_ASSIGN(ClassName)   ClassName& operator=(const ClassName&) = delete
 Macro to declare a class non-assignable. More...
 
#define GMX_DEFAULT_CONSTRUCTORS(ClassName)
 Macro to declare default constructors. More...