[libcxx-commits] [libcxx] [libc++] Introduce __specialized_algorithms (PR #167295)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Nov 19 07:48:44 PST 2025
================
@@ -0,0 +1,35 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef _LIBCPP___ALGORITHM_SPECIALIZED_ALGORITHMS_H
+#define _LIBCPP___ALGORITHM_SPECIALIZED_ALGORITHMS_H
+
+#include <__config>
+
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
+# pragma GCC system_header
+#endif
+
+_LIBCPP_BEGIN_NAMESPACE_STD
+
+// FIXME: This should really be an enum
----------------
ldionne wrote:
Since we can't use an enum due to C++03, I would remove the FIXME. We don't have a clear plan to refactor this in the short term.
https://github.com/llvm/llvm-project/pull/167295
More information about the libcxx-commits
mailing list