3 Mar
2021
3 Mar
'21
3:43 p.m.
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