cli20 0.1.2
A C++20 typed-schema command-line parser
Loading...
Searching...
No Matches
relation.hh File Reference
#include <array>
#include <initializer_list>
#include <string_view>
#include <tuple>
#include <type_traits>

Go to the source code of this file.

Classes

struct  cli::NameList< Max >
struct  cli::GroupParams
struct  cli::GroupRelation
struct  cli::ConflictsRelation
struct  cli::DependsOnRelation
struct  cli::RelationSet< Relations >
struct  cli::IsRelationSet< T >
struct  cli::IsRelationSet< RelationSet< Relations... > >

Namespaces

namespace  cli

Concepts

concept  cli::RelationSetLike

Functions

constexpr auto cli::group (GroupParams params) -> GroupRelation
constexpr auto cli::conflicts (std::string_view left, std::string_view right) -> ConflictsRelation
constexpr auto cli::depends_on (std::string_view source, std::string_view target) -> DependsOnRelation
template<class... Relations>
constexpr auto cli::relations (Relations... rels) -> RelationSet< Relations... >