Concept describing a refcount policy for use with intrusive_refcount.
More...
#include <asyncpp/ref.h>
template<typename T>
{ T{std::declval<size_t>()} };
{ std::declval<T&>().fetch_increment() } -> std::convertible_to<size_t>;
{ std::declval<T&>().fetch_decrement() } -> std::convertible_to<size_t>;
{ std::declval<const T&>().count() } -> std::convertible_to<size_t>;
}
Concept describing a refcount policy for use with intrusive_refcount.
Definition ref.h:17
Concept describing a refcount policy for use with intrusive_refcount.