utilities.hpp file
Contents
- Reference
Namespaces
- namespace modbus
- namespace modbus::utilities
Defines
- #define MAKE_STD_SHARED(T)
- #define MAKE_STD_UNIQUE(T)
Define documentation
#define MAKE_STD_SHARED(T)
| Parameters | |
|---|---|
| T | class to be enabled |
Create shared_ptr out of any class
This macro will generate the static function called create_shared that returns shared_ptr<T>
Usage: MAKE_
#define MAKE_STD_UNIQUE(T)
| Parameters | |
|---|---|
| T | class to be enabled |
Create unique_ptr out of any class
This macro will generate the static function called create_unique that returns unique_ptr<T>
Usage: MAKE_