llvm-project/libcxx/test/std/utilities/format/format.arguments
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
..
format.arg [libc++] Remove macros for IBM compiler 2022-06-14 09:15:41 -04:00
format.arg.store [libc++][format] Use forwarding references. 2022-07-10 17:19:28 +02:00
format.args [NFC][libc++][format] Enable unit tests. 2022-04-28 17:11:47 +02:00