7 Jul
2018
7 Jul
'18
3:43 p.m.
On Sat, Jul 7, 2018 at 8:34 AM, David Demelier via Boost-users
I wrongly converted the boost::string_view to std::string using the .data() member function and I just realized it's not null terminated...
Ah! Glad to see the mystery is solved. However, you would be better off working directly with the string_view instead of constructing a string, to avoid an unnecessary dynamic memory allocation. Regards