boostorg / parser

A C++ parser combinator library.
Boost Software License 1.0
87 stars 12 forks source link

Consider dropping support for direct use of NTBSs, and creating something like `null_term()` from P2728 #190

Closed tzlaine closed 3 weeks ago

tzlaine commented 3 weeks ago

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.

tzlaine commented 3 weeks ago

This would address #175.