llvm-project/libcxx/test/std/utilities/format
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.arguments [libc++][format] Use forwarding references. 2022-07-10 17:19:28 +02:00
format.error [libc++] Disable incomplete library features. 2021-07-27 22:37:35 +02:00
format.formatter [libc++][format] Implements 128-bit support. 2022-07-07 17:36:03 +02:00
format.functions [libc++][format] Use forwarding references. 2022-07-10 17:19:28 +02:00
format.syn [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00