Require that (template parameter) t_RANGE meets the requirements of input range and that the values referenced by the iterators of that range type have the same type or are convertible to the (template parameter) t_TYPE.

Synopsis

Declared in <bslmf_containercompatiblerange.h>

template<
    typename t_RANGE,
    typename t_TYPE>
concept ContainerCompatibleRange = std::ranges::input_range<t_RANGE>
 && std::convertible_to<std::ranges::range_reference_t<t_RANGE>, t_TYPE>;

Created with MrDocs