template <typename T>
rll::smart_ptr concept

Smart pointer concept.

Template parameters
T Type to check.

Will yield true for any type that is a smart pointer.

Requirements:

  • Can be dereferenced
  • Can be converted to bool
  • Operator operator-> must return a pointer of the same type as the dereferenced pointer
  • Method get must return the same type as the dereferenced pointer