CPP-ARGON 4.0.0
Command-Line Argument Parser for C++20
Loading...
Searching...
No Matches
concepts.hpp
Go to the documentation of this file.
1// Copyright (c) 2023-2026 Jakub Musiał
2// This file is part of the CPP-ARGON project (https://github.com/SpectraL519/cpp-argon).
3// Licensed under the MIT License. See the LICENSE file in the project root for full license information.
4
10#pragma once
11
13
14#include <utility>
15#include <variant>
16
18
24template <typename AS>
27
33template <typename AS>
35
41template <typename AS>
42concept c_action_specifier = c_value_action_specifier<AS> or std::same_as<AS, action_type::on_flag>;
43
44} // namespace argon::action::util
Defies the action specifier types.
The concept is satisfied when AS is a valid action action specifier.
Definition concepts.hpp:42
The concept is satisfied when AS is a valid on-flag action action specifier.
Definition concepts.hpp:34
The concept is satisfied when AS is a valid value action action specifier.
Definition concepts.hpp:25
Validates that T is the same as one of the types defined by Types.
Definition concepts.hpp:76