Visual Computing Library  devel
Loading...
Searching...
No Matches
vcl::comp::HasWedgeColors Concept Reference

A concept that checks whether a type T (that should be a Element) has the WedgeColors component (inherits from it). More...

#include <vclib/mesh/components/wedge_colors.h>

Concept definition

template<typename T>
concept vcl::comp::HasWedgeColors = ITB::IsDerivedFromSpecializationOfV<T, WedgeColors>
A concept that checks whether a type T (that should be a Element) has the WedgeColors component (inhe...
Definition wedge_colors.h:337

Detailed Description

A concept that checks whether a type T (that should be a Element) has the WedgeColors component (inherits from it).

The concept is satisfied if T is a class that inherits from vcl::comp::WedgeColors, with any template arguments.

Note that this concept does not discriminate between the Horizontal WedgeColors component and the vertical OptionalWedgeColors component, therefore it does not guarantee that a template Element type that satisfies this concept provides WedgeColors component at runtime (it is guaranteed only that the proper member functions are available at compile time).

Template Parameters
TThe type to be tested for conformity to the HasWedgeColors.