There is no guarantee (indeed, it is unlikely) that data within the scanner buffer will be null terminated and so the constructor that accepts a pointer and a count is appropriate.
This is one of the issues revealed by the BOOST_WAVE_BSIZE variation experiment
There is no guarantee (indeed, it is unlikely) that data within the scanner buffer will be null terminated and so the constructor that accepts a pointer and a count is appropriate.
This is one of the issues revealed by the
BOOST_WAVE_BSIZE
variation experiment