[libcxx-commits] [libcxx] [libc++][test] Move the SFINAE test for return types of `quoted` to `libcxx/test/libcxx/` (PR #157026)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 4 23:38:31 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: A. Jiang (frederick-vs-ja)

<details>
<summary>Changes</summary>

[quoted.manip] only specifies that `operator<<`/`operator>>` is well-formed for operands with suitable types, and leaves it undefined whether they are SFINAE-friendly.

Although it's worthwhile making them SFINAE-friendly, perhaps the SFINAE-friendliness should be considered as a libc++-specific choice at this moment.

---
Full diff: https://github.com/llvm/llvm-project/pull/157026.diff


1 Files Affected:

- (renamed) libcxx/test/libcxx/input.output/iostream.format/quoted.manip/quoted_traits.compile.pass.cpp () 


``````````diff
diff --git a/libcxx/test/std/input.output/iostream.format/quoted.manip/quoted_traits.compile.pass.cpp b/libcxx/test/libcxx/input.output/iostream.format/quoted.manip/quoted_traits.compile.pass.cpp
similarity index 100%
rename from libcxx/test/std/input.output/iostream.format/quoted.manip/quoted_traits.compile.pass.cpp
rename to libcxx/test/libcxx/input.output/iostream.format/quoted.manip/quoted_traits.compile.pass.cpp

``````````

</details>


https://github.com/llvm/llvm-project/pull/157026


More information about the libcxx-commits mailing list