|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
Memory management utilities for exception-free design. More...
#include <memory>#include <new>#include <utility>Go to the source code of this file.
Namespaces | |
| namespace | hf |
| namespace | hf::utils |
Functions | |
| template<typename T , typename... Args> | |
| std::unique_ptr< T > | hf::utils::make_unique_nothrow (Args &&... args) |
| Creates a unique_ptr using nothrow new for exception-free design. | |
| template<typename T > | |
| std::unique_ptr< T[]> | hf::utils::make_unique_array_nothrow (size_t size) |
| Creates a unique_ptr for arrays using nothrow new. | |
Memory management utilities for exception-free design.