* include/bits/stl_map.h (map): Disable static assert for C++98 mode.
* include/bits/stl_multimap.h (multimap): Likewise.
From-SVN: r271884
+2019-06-03 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/stl_map.h (map): Disable static assert for C++98 mode.
+ * include/bits/stl_multimap.h (multimap): Likewise.
+
2019-06-03 François Dumont <fdumont@gcc.gnu.org>
Rename variables and cleanup comments.
__glibcxx_class_requires2(value_type, _Alloc_value_type, _SameTypeConcept)
#endif
+#if __cplusplus >= 201103L
#if __cplusplus > 201703L || defined __STRICT_ANSI__
static_assert(is_same<typename _Alloc::value_type, value_type>::value,
"std::map must have the same value_type as its allocator");
+#endif
#endif
public:
__glibcxx_class_requires2(value_type, _Alloc_value_type, _SameTypeConcept)
#endif
+#if __cplusplus >= 201103L
#if __cplusplus > 201703L || defined __STRICT_ANSI__
static_assert(is_same<typename _Alloc::value_type, value_type>::value,
"std::multimap must have the same value_type as its allocator");
+#endif
#endif
public: