SeqAn3
3.4.0
The Modern C++ library for sequence analysis.
Toggle main menu visibility
Loading...
Searching...
No Matches
adaptor_for_view_without_args.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
2
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
3
// SPDX-License-Identifier: BSD-3-Clause
4
9
10
#pragma once
11
12
#include <
seqan3/core/range/detail/adaptor_base.hpp
>
13
14
namespace
seqan3::detail
15
{
16
17
// ============================================================================
18
// adaptor_for_view_without_args
19
// ============================================================================
20
44
template
<
template
<
typename
,
typename
...>
typename
view_type>
45
class
adaptor_for_view_without_args :
public
adaptor_base<adaptor_for_view_without_args<view_type>>
46
{
47
private
:
49
using
base_type = adaptor_base<adaptor_for_view_without_args<view_type>>;
50
52
friend
base_type;
53
60
template
<
typename
... arg_types>
61
static
auto
impl(arg_types &&... args)
62
{
63
return
view_type{
std::forward<arg_types>
(args)...};
64
}
65
66
public
:
71
constexpr
adaptor_for_view_without_args() =
default
;
73
constexpr
adaptor_for_view_without_args(adaptor_for_view_without_args
const
&)
noexcept
=
default
;
75
constexpr
adaptor_for_view_without_args(adaptor_for_view_without_args &&) noexcept = default;
77
constexpr adaptor_for_view_without_args & operator=(adaptor_for_view_without_args const &) noexcept = default;
79
constexpr adaptor_for_view_without_args & operator=(adaptor_for_view_without_args &&) noexcept = default;
81
~adaptor_for_view_without_args() noexcept = default;
82
84
using base_type::base_type;
86
};
87
88
}
// namespace seqan3::detail
adaptor_base.hpp
Provides seqan3::detail::adaptor_base and seqan3::detail::combined_adaptor.
std::forward
T forward(T... args)
Hide me
Version:
seqan3
core
range
detail
adaptor_for_view_without_args.hpp
Generated on
for SeqAn3 by
1.17.0