[libcxx-commits] [PATCH] D155487: [libc++] Move once_flag outside of <mutex>

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 17 10:30:12 PDT 2023


philnik accepted this revision.
philnik added a comment.
This revision is now accepted and ready to land.

Is there a reason you want to remove the dependency?



================
Comment at: libcxx/include/__mutex/once_flag.h:32
+
+#ifndef _LIBCPP_CXX03_LANG
+
----------------
As a follow-up, maybe remove the C++03 code? It looks like the C++11 code should work just fine in C++03.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155487/new/

https://reviews.llvm.org/D155487



More information about the libcxx-commits mailing list