[libcxx-commits] [libcxx] [libc++] Implement P0429R9 `std::flat_map` (PR #98643)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Sep 28 02:36:50 PDT 2024
================
@@ -0,0 +1,46 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// 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___FLAT_MAP_CONTAINER_TRAITS_H
+#define _LIBCPP___FLAT_MAP_CONTAINER_TRAITS_H
+
+#include <__config>
+
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
+# pragma GCC system_header
+#endif
+
+#if _LIBCPP_STD_VER >= 23
+
+_LIBCPP_BEGIN_NAMESPACE_STD
+
+template <class _Tp>
+inline constexpr bool __is_stl_container = false;
+
+template <class _Tp>
+struct __container_traits {
+ static constexpr bool __emplacement_has_strong_exception_safety_guarantee = false;
+};
----------------
huixie90 wrote:
This part is taken out to https://github.com/llvm/llvm-project/pull/109578
https://github.com/llvm/llvm-project/pull/98643
More information about the libcxx-commits
mailing list