Visual Computing Library  devel
Loading...
Searching...
No Matches
vcl::mesh::HasVertexContainer Concept Reference

A concept that checks whether a class has (inherits from) a VertexContainer class. More...

#include <vclib/mesh/containers/vertex_container.h>

Concept definition

template<typename T>
concept vcl::mesh::HasVertexContainer = std::derived_from<
std::remove_cvref_t<T>,
VertexContainer<typename RemoveRef<T>::VertexType>>
A concept that checks whether a class has (inherits from) a VertexContainer class.
Definition vertex_container.h:1226

Detailed Description

A concept that checks whether a class has (inherits from) a VertexContainer class.

The concept is satisfied when T is a class that instantiates or derives from a VertexContainer class having any Vertex element type.

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