14 Oct
2021
14 Oct
'21
1:13 a.m.
On Wed, Oct 13, 2021 at 5:25 PM Andrey Semashev via Boost
{ "/", "my", "download", "folder", "" } ... { "/", "path", "to", "file.txt" }
These are not really great because then elements are no longer homogeneous. That is, "/" is allowed in the front element but not the others. So u.segments().insert( u.segments().begin(), "/" ); is okay, but these are not: u.segments().insert( u.segments().begin(), "home" ); u.segments().push_back( "/" ); Thanks