Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::views::c_str_fn Struct Reference

Description

View a \0-terminated C string (e.g. from a const char*) as a range.

Synopsis of methods

constexpr c_str_fn c_str {}
 

Public Member Functions

template<typename Char >
ranges::delimit_view< ranges::subrange< Char *, ranges::unreachable_sentinel_t >, meta::_t< std::remove_cv< Char > > > operator() (Char *sz) const volatile
 
template<typename Char , std::size_t N>
ranges::subrange< Char * > operator() (Char(&sz)[N]) const