llvm-project/libcxx
Mark de Wever 606e280811 [libc++][format] Use forwarding references.
This implements a not accepted LWG issue. Not doing so would require
integral types to use the handle class instead of being directly stored
in the basic_format_arg.

The previous code used `std::forward` in places where it wasn't required
by the Standard. These are now removed.

Implements:
- P2418R2 Add support for std::generator-like types to std::format
- LWG 3631 basic_format_arg(T&&) should use remove_cvref_t<T> throughout

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D127570
2022-07-10 17:19:28 +02:00
..
benchmarks [libc++] Don't call key_eq in unordered_map/set rehashing routine 2022-07-10 11:44:12 +02:00
cmake [libc++] Always build c++experimental.a 2022-07-08 16:58:22 -04:00
docs [libc++][format] Use forwarding references. 2022-07-10 17:19:28 +02:00
include [libc++][format] Use forwarding references. 2022-07-10 17:19:28 +02:00
lib [libcxx][AIX] Enable ABI list checking for XCOFF 2022-06-14 13:16:00 -04:00
src [libc++] Always build c++experimental.a 2022-07-08 16:58:22 -04:00
test [libc++][format] Use forwarding references. 2022-07-10 17:19:28 +02:00
utils [libc++] Always build c++experimental.a 2022-07-08 16:58:22 -04:00
.clang-format [libcxx] Remove extraneous '---' lines in .clang-format files 2022-06-15 01:34:37 -07:00
.clang-tidy [libc++] Make parameter names consistent and enforce the naming style using readability-identifier-naming 2022-07-08 18:17:47 +02:00
.gitignore
CMakeLists.txt [libc++] Always build c++experimental.a 2022-07-08 16:58:22 -04:00
CREDITS.TXT Microsoft's floating-point to_chars powered by Ryu and Ryu Printf 2021-12-12 16:34:50 +01:00
LICENSE.TXT
TODO.TXT [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00
appveyor-reqs-install.cmd
appveyor.yml [libc++] Always build c++experimental.a 2022-07-08 16:58:22 -04:00