deduction guides for std::basic_string_view

From cppreference.com
 
 
 
 
Defined in header <string_view>
template<class It, class End>
basic_string_view(It, End) -> basic_string_view<std::iter_value_t<It>>;
(since C++20)

One deduction guide is provided for std::basic_string_view to allow the character type to be deduced from the iterator-sentinel pair. This overload only participates in overload resolution if It satisfies contiguous_iterator and End satisfies sized_sentinel_for for It.