koutil
Loading...
Searching...
No Matches
koutil::argparser::is_subcommand Concept Reference

Concept to check if a type satisfies the requirements of a subcommand. More...

#include <subcommand.h>

Concept definition

template<typename T>
concept koutil::argparser::is_subcommand = requires(T t) {
std::is_base_of_v<SubcommandBase, T>;
requires std::same_as<std::decay_t<decltype(t.name)>, std::string_view>;
}
Concept to check if a type satisfies the requirements of a subcommand.
Definition subcommand.h:51

Detailed Description

Concept to check if a type satisfies the requirements of a subcommand.

Template Parameters
TThe type to check.