kaycxx-cli
C++ CLI library
Loading...
Searching...
No Matches
kaycxx::cli::parseable_value Concept Reference

Checks whether a type can be used as a command line value. More...

#include <kaycxx/cli/parse_value.hpp>

Concept definition

template<typename T>
std::copy_constructible<T> && (
)
Checks whether a type can be parsed with std::from_chars.
Definition parse_value.hpp:29
Checks whether a type can be parsed with an ADL-discovered from_string function.
Definition parse_value.hpp:51
Checks whether a type can be used as a command line value.
Definition parse_value.hpp:63
Checks whether a type can be constructed from std::string_view.
Definition parse_value.hpp:40

Detailed Description

Checks whether a type can be used as a command line value.

Values must be copy-constructible because parsed values are stored in std::any.

Template Parameters
TValue type to check.