Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template null_term

boost::parser::null_term

Synopsis

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


template<typename CharT> 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