Skip to content

sbio::RCDeleter

template<typename D, typename T>
concept= requires(D d, T* ptr) {
{ d(ptr) } -> std::same_as<void>;
};

Concept determining a valid RC Deleter. A Deleter must be callable with the pointer to T (to be freed) as the argument. D The Deleter type. T The type the Deleter must be able to free. templateparam