RCAllocator
RCAllocator
Section titled “RCAllocator”#include <sbio/util/rc.hh>template<typename A, typename T, typename... Args>concept RCAllocatorDefined in src/lib/sbio/util/rc.hh:94
Concept determining a valid RC Allocator.
An Allocator provides a static allocate function that constructs a type T. It must be constructed in place at a provided destination, but beyond this there are no restrictions. It will likely require accepting any arguments T may expect for its constructors.
Template Parameters
Section titled “Template Parameters”-
AThe Allocator type. -
TThe type the Allocator must create. -
Args...Additional arguments for construction of T specifically.