![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <variant>Go to the source code of this file.
Macros | |
| #define | FORCE_DEFAULT_MOVE_CONSTRUCTORS(CLASS_NAME) |
| #define | FORCE_DEFAULT_CONSTRUCTORS(CLASS_NAME) |
| #define | MAKE_WRAPPER_CONSTRUCTOR_RAW(CLASS_NAME) |
| #define | MAKE_WRAPPER_CONSTRUCTOR_MOVE_ONLY(CLASS_NAME) |
| #define | MAKE_WRAPPER_CONSTRUCTOR(CLASS_NAME) |
| #define FORCE_DEFAULT_CONSTRUCTORS | ( | CLASS_NAME | ) |
Force the default versions of all constructors (copy, move, copy assignment).
| #define FORCE_DEFAULT_MOVE_CONSTRUCTORS | ( | CLASS_NAME | ) |
| #define MAKE_WRAPPER_CONSTRUCTOR | ( | CLASS_NAME | ) |
Like MAKE_WRAPPER_CONSTRUCTOR, but also explicitly defaults copy operations for copyable types.
| #define MAKE_WRAPPER_CONSTRUCTOR_MOVE_ONLY | ( | CLASS_NAME | ) |
Make a wrapper constructor. Also defaults move constructor/assignment. Copy operations will be implicitly defaulted or deleted based on the Raw type.
| #define MAKE_WRAPPER_CONSTRUCTOR_RAW | ( | CLASS_NAME | ) |
Forwarding constructor for wrapper types. All args are forwarded to the construction of the "raw" field.
The moral equivalent of using Raw::Raw;