SeqAn3
3.4.0-rc.4
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
argument_parser/detail/concept.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
10
#pragma once
11
12
#include <
concepts
>
13
#include <
string
>
14
#include <
type_traits
>
15
16
#include <
seqan3/core/platform.hpp
>
17
18
namespace
seqan3::detail
19
{
20
39
template
<
typename
option_type>
40
concept
is_container_option
=
41
!std::is_same_v<std::remove_cvref_t<option_type>,
std::string
>
42
&&
requires
(
option_type
container
,
typename
std::remove_reference_t<option_type>::value_type
value) {
43
{
container
.push_back(value) };
44
};
46
47
}
// namespace seqan3::detail
std::string
concepts
container
The (most general) container concept as defined by the standard library.
is_container_option
Whether the option type is considered to be a container.
seqan3::detail
The internal SeqAn3 namespace.
Definition
aligned_sequence_concept.hpp:26
seqan3::get
constexpr auto const & get(configuration< configs_t... > const &config) noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition
configuration.hpp:412
platform.hpp
Provides platform and dependency checks.
std::remove_reference_t
string
type_traits
Hide me
Version:
seqan3
argument_parser
detail
concept.hpp
Generated on Thu May 22 2025 17:35:46 for SeqAn3 by
1.9.8