I investigate new features of C++20 and not found implementation of three-way comparsion operator support (spaceship operator, <=>) - header. But my compiller work correctly with myself version of this header.
Can I help community to write cxxlib port of C++20 standard. Or I may be help in other directions of development.
Thanks,
Boris Vinogradov
I investigate new features of C++20 and not found implementation of three-way comparsion operator support (spaceship operator, <=>) - header. But my compiller (clang version 7.0.0) work correctly with myself scratch draft version of this header (one compare class and stuff).
Can I help community to write cxxlib port of C++20 standard? Or I may be can I help in other directions of development?
Thanks,
Boris Vinogradov
There’s a lot of churn in the draft standard at the moment regarding the spaceship operator.
We’re deliberately waiting until things settle down before implementing.
from just the last WG21 meeting:
-
P1187 A type trait for std::compare_3way()'s type
-
P1191 Adding operator<=> to types that are not currently comparable
-
P1248 Fixing Relations
-
P0891 Let strong_order Truly Be a Customization Point!
-
P1312 Comparison Concepts
-
P1295 Spaceship library update
– Marshall
I investigate new features of C++20 and not found implementation of three-way comparsion operator support (spaceship operator, <=>) - header. But my compiller (clang version 7.0.0) work correctly with myself scratch draft version of this header (one compare class and stuff).
Can I help community to write cxxlib port of C++20 standard? Or I may be can I help in other directions of development?
There’s a lot of churn in the draft standard at the moment regarding the spaceship operator.
We’re deliberately waiting until things settle down before implementing.
from just the last WG21 meeting:
FWIW: P1248 is about the Relation concept, it doesn’t directly relate to <=>. So there were merely 5 papers proposing <=> changes 