Boost logo

Boost :

From: Andrzej Krzemienski (akrzemi1_at_[hidden])
Date: 2024-09-30 17:12:11


pon., 30 wrz 2024 o 19:03 Dominique Devienne <ddevienne_at_[hidden]>
napisał(a):

> On Mon, Sep 30, 2024 at 6:20 PM Andrzej Krzemienski via Boost
> <boost_at_[hidden]> wrote:
> > I need to transform a vector of strings into a vector of X through
> invoking
> > the constructor of X:
>
> FYI, related SO post:
>
> https://stackoverflow.com/questions/65991331/best-way-to-use-constructor-as-a-function-in-stdtransform

Thanks.
Maybe ranges solve this for std::transform.
My original problem was in fact reported in the context of
boost::optional::map.

Regards,
&rzej;


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