SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
is_class_template_declarable.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
2// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
3// SPDX-License-Identifier: BSD-3-Clause
4
10#pragma once
11
12#include <type_traits>
13
15
16namespace seqan3::detail
17{
18
38template <template <typename...> typename query_t, typename... args_t>
39struct is_class_template_declarable_with :
41 public std::false_type
43{};
44
46template <template <typename...> typename query_t, typename... args_t>
47 requires requires { typename std::type_identity<query_t<args_t...>>::type; }
48struct is_class_template_declarable_with<query_t, args_t...> : public std::true_type
49{};
51
57template <template <typename...> typename query_t, typename... args_t>
58inline constexpr bool is_class_template_declarable_with_v =
59 is_class_template_declarable_with<query_t, args_t...>::value;
60
61} // namespace seqan3::detail
Provides platform and dependency checks.
Hide me