blob: 99ee780460c8fb1e1e9916a78703b43b11a2fd9d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- contrib/restricted/abseil-cpp-tstring/y_absl/container/internal/raw_hash_set.h (index)
+++ contrib/restricted/abseil-cpp-tstring/y_absl/container/internal/raw_hash_set.h (working tree)
@@ -3026,13 +3026,13 @@ class raw_hash_set {
// s.insert({"abc", 42});
std::pair<iterator, bool> insert(init_type&& value)
Y_ABSL_ATTRIBUTE_LIFETIME_BOUND
-#if __cplusplus >= 202002L
+#if Y_ABSL_INTERNAL_CPLUSPLUS_LANG >= 202002L && (!defined(_MSC_VER) || defined(__clang__))
requires(!IsLifetimeBoundAssignmentFrom<init_type>::value)
#endif
{
return emplace(std::move(value));
}
-#if __cplusplus >= 202002L
+#if Y_ABSL_INTERNAL_CPLUSPLUS_LANG >= 202002L && (!defined(_MSC_VER) || defined(__clang__))
std::pair<iterator, bool> insert(
init_type&& value Y_ABSL_INTERNAL_ATTRIBUTE_CAPTURED_BY(this))
Y_ABSL_ATTRIBUTE_LIFETIME_BOUND
|