My Project
|
#include <memory>
Go to the source code of this file.
Macros | |
#define | UNITY_DEFINES_PTRS(classname) |
Macro to add smart pointer definitions to a class. More... | |
#define UNITY_DEFINES_PTRS | ( | classname | ) |
Macro to add smart pointer definitions to a class.
This macro injects type definitions for smart pointer types into a class. It is useful to establish a common naming convention for smart pointers across a project.
You can use the macro as follows. Note that the macro argument is the name of the class being defined.
Callers of MyClass
can now, for example, write