SeqAn3 3.4.0-rc.4
The Modern C++ library for sequence analysis.
|
An unary type trait that tests whether a template class can be declared with the given template type parameters. More...
#include <seqan3/core/detail/is_class_template_declarable.hpp>
Related Symbols | |
(Note that these are not member symbols.) | |
template<template< typename... > typename query_t, typename... args_t> | |
constexpr bool | is_class_template_declarable_with_v |
Helper variable template for seqan3::detail::is_class_template_declarable_with. | |
An unary type trait that tests whether a template class can be declared with the given template type parameters.
query_t | The type of the template class to test. |
args_t | The template parameter pack to instantiate the template class with. |
Note, this unary type trait can be used in a seqan3::detail::lazy_conditional expression to check if instantiating a template class with specific template arguments would result in a valid template declaration. Thus, the template parameters of the checked class must be constrained accordingly. It is, however, not possible to test if the the resulting type is incomplete or not, such that it can not be tested if an instance of the class template with the given template arguments can be actually created.
|
no-apirelated |
Helper variable template for seqan3::detail::is_class_template_declarable_with.
query_t | The type of the template class to test. |
args_t | The template parameter pack to instantiate the template class with. |