Library updates for C++20/C++2a

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Library updates for C++20/C++2a

Oleg Smolsky via cfe-dev
I investigate new features of C++20 and not found implementation of three-way comparsion operator support (spaceship operator, <=>) - <compare> 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

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: [libcxx-dev] Fwd: Library updates for C++20/C++2a

Oleg Smolsky via cfe-dev
On Fri, Nov 30, 2018 at 8:45 AM Boris Vinogradov via libcxx-dev <[hidden email]> wrote:
I investigate new features of C++20 and not found implementation of three-way comparsion operator support (spaceship operator, <=>) - <compare> 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:
* 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


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: [libcxx-dev] Fwd: Library updates for C++20/C++2a

Oleg Smolsky via cfe-dev
On Fri, Nov 30, 2018 at 11:38 AM Marshall Clow via cfe-dev <[hidden email]> wrote:
On Fri, Nov 30, 2018 at 8:45 AM Boris Vinogradov via libcxx-dev <[hidden email]> wrote:
I investigate new features of C++20 and not found implementation of three-way comparsion operator support (spaceship operator, <=>) - <compare> 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:
* P1187 A type trait for std::compare_3way()'s type
* P1191 Adding operator<=> to types that are not currently comparable
* P1248 Fixing Relations

FWIW: P1248 is about the Relation concept, it doesn't directly relate to <=>. So there were merely 5 papers proposing <=> changes ;)
 
* P0891 Let strong_order Truly Be a Customization Point! 
* P1312 Comparison Concepts
* P1295 Spaceship library update

-- Marshall

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev