8 Jul
2018
8 Jul
'18
7:47 a.m.
On Sat, 2018-07-07 at 13:48 -0400, Daniel Anderson wrote:
Why do you use data() without using size()/length() ?
with string_view this is a recipe for hard to find bugs.
Because at that time I didn't know that it was not null terminated and I needed a way to convert the boost::string_view to std::string because I need to make a copy of the Beast's result. Regards -- David