[libc++][format] Makes format_context copyable.
authorMark de Wever <koraq@xs4all.nl>
Sun, 13 Nov 2022 17:51:36 +0000 (18:51 +0100)
committerMark de Wever <koraq@xs4all.nl>
Mon, 21 Nov 2022 18:36:57 +0000 (19:36 +0100)
commit36ce0c3b1e581ca310ae7d0cbc6af002cc5d0251
treea66e1bb190267932ac6189ef6f72ae9d749937a2
parent53d234eab637307955f562974f76742b906024f5
[libc++][format] Makes format_context copyable.

This was a bug discovered by @jwakely.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D137911
libcxx/include/__format/format_context.h
libcxx/test/std/utilities/format/format.formatter/format.context/format.context/ctor.pass.cpp