boostorg / boostorg/variant

Operator <=> in Boost.Variant

Open
#116 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
47
Forks
71
PR merge metrics
No merged PRs in 30d

Description

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 :(

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.