[libcxx-commits] [libcxx] [libc++] Granularize includes of <optional> (PR #213433)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 3 00:30:36 PDT 2026


================
@@ -687,21 +687,65 @@ filesystem typeinfo
 filesystem utility
 filesystem variant
 filesystem version
+flat_map atomic
----------------
philnik777 wrote:

Looks like in some headers it has only been included since some version of C++. In these cases you should also put a `_LIBCPP_STD_VER >= <whatever>` in the include condition.

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


More information about the libcxx-commits mailing list