Boost logo

Boost :

Subject: Re: [boost] [operators] A modern SFINAE-based version of boost::operators?
From: David Stone (david_at_[hidden])
Date: 2017-11-19 05:22:08


Here is the initial wording of my proposal for the C++ standardization
committee on generating more operators by default. I welcome any feedback.
I intend to present this at the next meeting in March.

https://github.com/davidstone/isocpp/blob/master/generate-operators.md

On Mon, Nov 13, 2017 at 8:38 PM, David Stone <david_at_[hidden]> wrote:

> I am working on a proposal for the next committee meeting that would
> generate more of these operators. We recently voted in a feature for the
> comparison operators: the user defines `operator<=>` and gets all current
> comparison operators generated automatically. I will be sure to post my
> paper to this list for feedback prior to the mailing deadline. My paper
> will include a fairly comprehensive rationale for the design, which will be
> different from Boost.Operators. It has the advantage of needing only to
> work with code built against the latest standard, and it has language
> support, and it has the "disadvantage" of being done by default instead of
> being explicitly requested by the user, which obviously has slightly
> different design constraints.
>
>


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