[libcxx] adds concepts `std::invocable` and `std::regular_invocable`
authorChristopher Di Bella <cjdb@google.com>
Mon, 8 Feb 2021 05:08:25 +0000 (05:08 +0000)
committerChristopher Di Bella <cjdb@google.com>
Wed, 10 Feb 2021 19:35:53 +0000 (19:35 +0000)
commit17db24a7a8f23eb5adb24f36b9d51bb7cc5ae564
treee736d7a56770b02b8aac840ccd6b34d407399d7d
parentc63de225fdd7c7adf6ed041c0bff318d9ae75c00
[libcxx] adds concepts `std::invocable` and `std::regular_invocable`

Implements parts of:
    - P0898R3 Standard Library Concepts
    - P1754 Rename concepts to standard_case for C++20, while we still can

Differential Revision: https://reviews.llvm.org/D96235
libcxx/include/concepts
libcxx/test/std/concepts/callable/functions.h [new file with mode: 0644]
libcxx/test/std/concepts/callable/invocable.compile.pass.cpp [new file with mode: 0644]
libcxx/test/std/concepts/callable/regularinvocable.compile.pass.cpp [new file with mode: 0644]
libcxx/test/std/concepts/lang/derived.compile.pass.cpp