Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2021-03-03 15:43:29


Dominique Devienne wrote:
> Yet on something else, Boost.PFR seems to give an operator== for one's structs
> out of the box.
> That's a binary operation, while most of your examples are unary, no? How
> would "generated" op== work in Boost.Describe? Assuming the described
> structs don't have themselves an op==, and one would want to generate those
> op== using their "descriptions"?

Here's an example of a generated operator==:

https://gist.github.com/pdimov/35bd34dab981667777ff6433818e8768


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