Async++ unknown
Async (co_await/co_return) code for C++
Loading...
Searching...
No Matches
asyncpp::RefCountable Concept Reference

Concept checking if a type is viable for usage with ref<> (i.e. it provides overloads for refcounted_add_ref and refcounted_remove_ref) More...

#include <asyncpp/ref.h>

Concept definition

template<typename T>
concept asyncpp::RefCountable = requires(T* obj) {
{ refcounted_add_ref(obj) };
{ refcounted_remove_ref(obj) };
}
Concept checking if a type is viable for usage with ref<> (i.e. it provides overloads for refcounted_...
Definition ref.h:116

Detailed Description

Concept checking if a type is viable for usage with ref<> (i.e. it provides overloads for refcounted_add_ref and refcounted_remove_ref)