MostlyHarmless 0.0.1
 
Loading...
Searching...
No Matches
marvin::SmartPointerType Concept Reference

Constrains T to a class that implements get(), reset() operator*() and operator->(). More...

#include <marvin_Concepts.h>

Concept definition

template<class T>
concept marvin::SmartPointerType = requires(T a) {
typename T::element_type;
a.get();
a.reset();
a.operator*();
a.operator->();
}
Constrains T to a class that implements get(), reset() operator*() and operator->().
Definition marvin_Concepts.h:78

Detailed Description

Constrains T to a class that implements get(), reset() operator*() and operator->().