libstdc++: Add <=> to thread::id
authorJonathan Wakely <jwakely@redhat.com>
Fri, 7 Feb 2020 20:28:06 +0000 (20:28 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 20 Feb 2020 11:30:19 +0000 (11:30 +0000)
commitc7b591f3868f778ce89b14cbfb81d8e96d0daad2
treeff6b7d6b631b2f92beda643b0bef013f05ea37a2
parent4a172be3e5e849ef82f07ce034837630e73f025b
libstdc++: Add <=> to thread::id

* include/std/thread (thread::id::operator<=>): Define for C++20.
* testsuite/30_threads/thread/id/70294.cc: Do not take addresses of
functions in namespace std.
* testsuite/30_threads/thread/id/operators_c++20.cc: New test.
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/thread
libstdc++-v3/testsuite/30_threads/thread/id/70294.cc
libstdc++-v3/testsuite/30_threads/thread/id/operators.cc
libstdc++-v3/testsuite/30_threads/thread/id/operators_c++20.cc [new file with mode: 0644]