Visual Computing Library
All Classes Functions Variables Typedefs Enumerations Friends Modules Pages Concepts
vcl::comp::HasIsAvailableMemberFunction Concept Reference

Evaluates to true if the type T is a component that has a isAvailable() member function, that must be called to check if the component is available (i.e. it could be optional and not enabled). More...

Concept definition

template<typename T>
ComponentConcept<T> && requires (T&& obj) {
{ obj.isAvailable() } -> std::same_as<bool>;
}
The ComponentConcept is evaluated to true whenever the type T is a valid component,...
Definition component.h:44
Evaluates to true if the type T is a component that has a isAvailable() member function,...
Definition component.h:104

Detailed Description

Evaluates to true if the type T is a component that has a isAvailable() member function, that must be called to check if the component is available (i.e. it could be optional and not enabled).

Template Parameters
TThe type to be evaluated.