17namespace sharg::detail
23 "[html, man, ctd, cwl]";
29template <
typename container_t>
38template <
typename... value_types>
44 auto print = [&stream](
auto && val)
59 auto it = val.begin();
61 for (; it != val.end(); ++it)
62 stream <<
", " << *it;
68 stream << static_cast<int16_t>(val);
Provides helper concepts.
Whether the option type is considered to be a container.
Definition detail/concept.hpp:38
Concept for views whose value type is ostreamable.
Definition to_string.hpp:30
Concept for types that can be parsed into a std::ostream via the stream operator.
Definition concept.hpp:61
Provides the concept sharg::detail::is_container_option.
std::string to_string(value_types &&... values)
Streams all parameters via std::ostringstream and returns a concatenated string.
Definition to_string.hpp:40