SeqAn3 3.4.0-rc.1
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-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 <concepts>
13#include <string>
14#include <type_traits>
15
17
18namespace seqan3::detail
19{
20
39template <typename option_type>
40concept is_container_option = !
41std::is_same_v<std::remove_cvref_t<option_type>, std::string> && requires (
42 option_type container,
44 {
45 container.push_back(value)
46 };
47 };
49
50} // namespace seqan3::detail
The (most general) container concept as defined by the standard library.
Provides platform and dependency checks.
Hide me