Boost logo

Boost :

From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2024-04-16 14:41:12


On Tue, Apr 16, 2024 at 7:13 AM Alain O' Miniussi <alain.miniussi_at_oca.eu>
wrote:

> So,it crashes while looking at
>

Try changing the function to this (note, I did not test it, so it might
have compiler errors but you get the idea):

    segments_view::
      segments_view(
          core::string_view s)
          : segments_base(
              parse_path(s).value(
                  BOOST_URL_POS))
      {
      }

The change is to call the base class constructor instead of a delegating
constructor.

Thanks


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk