I'm trying to define a defaulted operator <=> in my own structs that hold boost::variant<>, and I stumbled upon the lack of them.
Would you consider adding operator<=> to boost::variant?
PS: in fact I'm trying to default operator<, which I thought would use boost::variant::operator< (which exists); alas, the default operator< is defined to rely on operator<=> of members, not on operator< of members :(
I'm trying to define a defaulted operator <=> in my own structs that hold boost::variant<>, and I stumbled upon the lack of them.
Would you consider adding operator<=> to boost::variant?
PS: in fact I'm trying to default operator<, which I thought would use boost::variant::operator< (which exists); alas, the default operator< is defined to rely on operator<=> of members, not on operator< of members :(