[libcxx-commits] [libcxx] [libc++][test][NFC] Remove unused inclusions of `<iostream>` (PR #134776)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 8 01:10:39 PDT 2025


================
@@ -28,7 +28,6 @@
 #include <iterator>
 
 #include "test_macros.h"
-#include <iostream>
----------------
frederick-vs-ja wrote:

This is somehow tricky. These files don't explicitly write `vector` but implicitly use `vector<T>` as default template arguments. Likewise, the reverse iterator types are `reverse_iterator` specializations, which are guaranteed to be provided in `<iterator>`.

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


More information about the libcxx-commits mailing list