![]() |
|
HdDataSourceAllocator. More...
#include <dataSource.h>
Public Types | |
| using | value_type = U |
Public Member Functions | |
| template<typename V > | |
| HdDataSourceAllocator (const HdDataSourceAllocator< V > &) noexcept | |
| U * | allocate (size_t n) |
| void | deallocate (U *p, size_t n) noexcept |
| template<typename... Args> | |
| void | construct (U *p, Args &&... args) |
| void | destroy (U *p) noexcept |
HdDataSourceAllocator simply wraps std::allocator. It exists to allow std::allocate_shared to access the private constructor, by being declared friend.
Definition at line 32 of file dataSource.h.
| using value_type = U |
Definition at line 34 of file dataSource.h.
|
inlinenoexcept |
Definition at line 39 of file dataSource.h.
|
inline |
Definition at line 40 of file dataSource.h.
|
inline |
Definition at line 44 of file dataSource.h.
|
inlinenoexcept |
Definition at line 41 of file dataSource.h.
|
inlinenoexcept |
Definition at line 46 of file dataSource.h.