BioC++ core-0.7.0
The Modern C++ libraries for Bioinformatics.
 
Loading...
Searching...
No Matches
bio::meta::valid_template_spec_or< fallback_t, templ_t, spec_t > Struct Template Reference

Exposes templ_t<spec_t...> if that is valid, otherwise fallback_t. More...

#include <bio/meta/type_traits/template_inspection.hpp>

+ Inheritance diagram for bio::meta::valid_template_spec_or< fallback_t, templ_t, spec_t >:

Public Types

using type = fallback_t
 The resulting type.
 

Detailed Description

template<typename fallback_t, template< typename... > typename templ_t, typename... spec_t>
struct bio::meta::valid_template_spec_or< fallback_t, templ_t, spec_t >

Exposes templ_t<spec_t...> if that is valid, otherwise fallback_t.

See also
bio::meta::valid_template_spec_or_t
Template Parameters
fallback_tThe fallback type.
templ_tThe type template that should be specialised.
spec_tThe specialisation for the type template.

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