SeqAn3 3.1.0
The Modern C++ library for sequence analysis.
result_type.hpp
Go to the documentation of this file.
1// -----------------------------------------------------------------------------------------------------
2// Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
3// Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik
4// This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
5// shipped with this file and also available at: https://github.com/seqan/seqan3/blob/master/LICENSE.md
6// -----------------------------------------------------------------------------------------------------
7
13#pragma once
14
16
21
22namespace seqan3::search_cfg::detail
23{
24
42template <typename search_result_t>
44 requires seqan3::detail::is_type_specialisation_of_v<search_result_t, search_result>
46class result_type : private pipeable_config_element
47{
48public:
50 using type = search_result_t;
51
55 constexpr result_type() = default;
56 constexpr result_type(result_type const &) = default;
57 constexpr result_type(result_type &&) = default;
58 constexpr result_type & operator=(result_type const &) = default;
59 constexpr result_type & operator=(result_type &&) = default;
60 ~result_type() = default;
61
63
65 static constexpr seqan3::detail::search_config_id id{seqan3::detail::search_config_id::result_type};
66};
67} // namespace seqan3::search_cfg::detail
Provides seqan3::pipeable_config_element.
Provides seqan3::search_result.
Provides type traits for working with templates.
The <type_traits> header from C++20's standard library.