Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit 2daa88693b.
PrevUpHomeNext

Function template null_term

boost::parser::null_term

Synopsis

// In header: <boost/parser/parser_fwd.hpp>


template<typename CharT> constexpr auto null_term(CharT * ptr);

Description

Produces a subrange comprising the given pointer and null_sentinel. This should be used to make Null-Terminated Byte Strings ("NTBSs") compatible with ranges.


PrevUpHomeNext