Variable wrench::is_ref_tracker_v

Variable Documentation

template<typename T>
constexpr bool wrench::is_ref_tracker_v = std::is_base_of_v<RefTracker<std::decay_t<T>>, std::decay_t<T>>

Returns true if the type T is an implementation of the RefCounter interface.

Template Parameters
  • T: The type to check if is a reference counter.