Sharg 1.1.2-rc.1
The argument parser for bio-c++ tools.
Loading...
Searching...
No Matches
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 <string>
13
14#include <sharg/platform.hpp>
15
16namespace sharg::detail
17{
18
36// clang-format off
37template <typename option_type>
39 requires (option_type container,
40 typename std::ranges::range_value_t<option_type> value)
41 {
42 { container.push_back(value) };
43 };
44// clang-format on
45
46} // namespace sharg::detail
Whether the option type is considered to be a container.
Definition detail/concept.hpp:38
T is_same_v
Provides platform and dependency checks.
Hide me