39template <
typename value_type>
42 {is >> val} -> std::same_as<std::istream&>;
63template <
typename type>
66 {os << val} -> std::same_as<std::ostream&>;
69 requires (
std::ostream & os, std::ranges::range_reference_t<type> val)
71 {os << val} -> std::same_as<std::ostream&>;
93template <
typename option_type>
Concept for types that can be parsed from a std::istream via the stream operator.
Definition: concept.hpp:40
Checks whether the free function sharg::enumeration_names can be called on the type.
Definition: enumeration_names.hpp:238
Concept for types that can be parsed into a std::ostream via the stream operator.
Definition: concept.hpp:64
Checks whether the the type can be used in an add_(positional_)option call on the parser.
Definition: concept.hpp:94
Provides auxiliary information.