17namespace sharg::detail
23 "[html, man, ctd, cwl]";
29template <
typename container_t>
30concept is_ostreamable_view = std::ranges::view<container_t> && ostreamable<std::ranges::range_value_t<container_t>>;
38template <
typename... value_types>
39 requires (ostreamable<value_types> && ...)
44 auto print = [&stream](
auto && val)
50 if constexpr (is_container_option<value_t> || is_ostreamable_view<value_t>)
59 auto it = val.begin();
61 for (; it != val.end(); ++it)
62 stream <<
", " << *it;
68 stream << static_cast<int16_t>(val);
Provides helper concepts.
Provides the concept sharg::detail::is_container_option.