tfel
Loading...
Searching...
No Matches
tfel::meta::Implements< T, Concept > Class Template Reference

the Implements metafunction returns true if the class T is a subclass of Concept<T>. More...

#include </home/runner/work/tfel/tfel/include/TFEL/Metaprogramming/Implements.hxx>

Static Public Attributes

static constexpr bool cond
 the result of the metafunction.

Detailed Description

template<typename T, template< typename > class Concept>
class tfel::meta::Implements< T, Concept >

the Implements metafunction returns true if the class T is a subclass of Concept<T>.

Parameters
T,classto be tested.
Concept,concepttemplate class.
Returns
bool.
See also
concepts_sec for more details about how concepts are modelled in TFEL.
Author
Thomas Helfer
Date
28/08/2006

Member Data Documentation

◆ cond

template<typename T, template< typename > class Concept>
bool tfel::meta::Implements< T, Concept >::cond
staticconstexpr
Initial value:
=
std::is_base_of_v<Concept<std::decay_t<T>>, std::decay_t<T>>

the result of the metafunction.


The documentation for this class was generated from the following file: