|
FuncDoodle
|
Convenience type aliases for standard smart pointers. More...
#include <memory>Go to the source code of this file.
Typedefs | |
| template<typename T> | |
| using | UniquePtr = std::unique_ptr<T> |
| Alias for an exclusively owned smart pointer. | |
| template<typename T> | |
| using | SharedPtr = std::shared_ptr<T> |
| Alias for a reference-counted shared smart pointer. | |
| template<typename T> | |
| using | WeakPtr = std::weak_ptr<T> |
| Alias for a non-owning observer of a SharedPtr. | |
Convenience type aliases for standard smart pointers.
This header provides simple aliases over the C++ standard library smart pointers:
These aliases are used throughout FuncDoodle to improve readability and allow future replacement with custom smart pointer implementations if needed.
| using SharedPtr = std::shared_ptr<T> |
Alias for a reference-counted shared smart pointer.
| using UniquePtr = std::unique_ptr<T> |
Alias for an exclusively owned smart pointer.