VCTR
Loading...
Searching...
No Matches
vctr::has::dataWithElementType Concept Reference

Constrains a type to have a member function data() const returning a pointer convertible to const ElementType*. More...

Concept definition

template<class T, class ElementType>
concept vctr::has::dataWithElementType = requires (const T& t) { { t.data() } -> std::convertible_to<const ElementType*>; }
Constrains a type to have a member function data() const returning a pointer convertible to const Ele...
Definition: ContainerAndExpressionConcepts.h:122

Detailed Description

Constrains a type to have a member function data() const returning a pointer convertible to const ElementType*.