llvm-project/libcxx/docs/Status/Spaceship.rst
Arthur O'Dwyer bf20a09790 [libc++] [P1614] Implement the second half of [cmp.alg]: compare_{strong,weak,partial}_fallback.
The tests for these are just copy-pasted from the tests for std::{strong,weak,partial}_order,
and then I added an extra clause in each (test_2()) to test the stuff that's not just the same
as std::*_order.

This also includes the fix for https://wg21.link/LWG3465 (which falls naturally out of the
"you must write it three times" style, but I've added test cases for it also).

There is an action item here to go back and give good diagnostics for SFINAE failures
in these CPOs. I've filed this as https://github.com/llvm/llvm-project/issues/53456 .

Differential Revision: https://reviews.llvm.org/D111514
2022-01-27 17:48:01 -05:00

54 lines
1.4 KiB
ReStructuredText

.. spaceship-status:
==============================================
libc++ Spaceship Operator Status (operator<=>)
==============================================
.. include:: ../Helpers/Styles.rst
.. contents::
:local:
Overview
================================
This document contains the status of the C++20 spaceship operator support
in libc++. It is used to track both the status of the sub-projects of the effort
and who is assigned to these sub-projects. This is imperative to effective
implementation so that work is not duplicated and implementors are not blocked
by each other.
If you are interested in contributing to this effort, please send a message
to the #libcxx channel in the LLVM discord. Please *do not* start working on any
of the assigned items below.
Sub-Projects in the Implementation Effort
=========================================
.. csv-table::
:file: SpaceshipProjects.csv
:header-rows: 1
:widths: auto
.. note::
.. [#note-strongorder] ``std::strong_order(long double, long double)`` is not yet implemented.
Misc. Items and TODOs
====================================
(Note: files with required updates will contain the TODO at the beginning of the
list item so they can be easily found via global search.)
Paper and Issue Status
====================================
.. csv-table::
:file: SpaceshipPapers.csv
:header-rows: 1
:widths: auto