Boost logo

Boost :

From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2021-10-14 01:28:28


On Wed, Oct 13, 2021 at 6:19 PM Vinnie Falco <vinnie.falco_at_[hidden]> wrote:
> ...

Thinking out loud here, it seems that the segments container models the path as

    vector< string >

When it actually needs to model the container as

   struct
   {
       bool leading_slash;
       vector< string >
    };

Should I just add this function

    void segments::set_absolute( bool path_should_be_absolute );

and keep

    bool segments::is_absolute() const noexcept;

?


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