The latest draft of P2728 contains null_term(), which just returns std::ranges::subrange(ptr, std::null_terminator). If this is the way idiomatic C++ is going to be written, this library should do the same. This change should wait until LEWG have seen this version of P2728 and approved of the approach.
The latest draft of P2728 contains
null_term()
, which just returnsstd::ranges::subrange(ptr, std::null_terminator)
. If this is the way idiomatic C++ is going to be written, this library should do the same. This change should wait until LEWG have seen this version of P2728 and approved of the approach.