Boost logo

Boost :

From: Julien Blanc (julien.blanc_at_[hidden])
Date: 2021-03-26 06:44:43


Le vendredi 26 mars 2021 à 05:54 +0100, Andrzej Krzemienski via Boost a
écrit :
> > This would allow the user of the library to get the building blocks
> > to
> > customize other operators to its needs (I have implemented unary
> > operator* easily that way).
> >
>
> Is it not just that the library is missing some operators? If
> Boost.Lambda2
> overloaded all overloadable operators there would be no point in
> users
> doing it.

Agreed. But I don't have a strong opinion on whether the library should
implement everything, or just be more open to user extensions.

> The following als looks as something I would see often in the code:
>
> assert(std::ranges::all_of(records, _1 != nullptr));

Definitely. That's the kind of motivating example that i think should
appear in the documentation.

Regards,

Julien


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