Variable t8_mesh_handle::detail::contains_tag_v
Defined in File competence_pack_union.hxx
Variable Documentation
-
template<template<class> class TCompetence, template<class> class ...TUnionCompetences>
constexpr bool t8_mesh_handle::detail::contains_tag_v = std::disjunction_v<std::is_same<tag<TCompetence>, tag<TUnionCompetences>>...> Check whether a competence is already contained in a competence pack.
This helper compares the given competence TCompetence against a list of competences TUnionCompetences using the tag wrapper.
- Template Parameters:
TCompetence – Competence to check for.
TUnionCompetences – Existing competences in the pack.
- Return:
true if TCompetence is already present, and false otherwise.