diff options
author | pg <pg@yandex-team.com> | 2023-08-18 01:20:22 +0300 |
---|---|---|
committer | pg <pg@yandex-team.com> | 2023-08-18 03:00:47 +0300 |
commit | 13dd691215540afc16b16539deb1f69ebd783378 (patch) | |
tree | 91e8769f84b1f7b5ebf2323d07cf3d41130f492e | |
parent | 09ac62184db89f0ed7dc91f5da0e86e3d2b248f1 (diff) | |
download | ydb-13dd691215540afc16b16539deb1f69ebd783378.tar.gz |
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/__concepts/arithmetic.h | 2 | ||||
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/__format/format_arg.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/__concepts/arithmetic.h b/contrib/libs/cxxsupp/libcxx/include/__concepts/arithmetic.h index f86908cfdf..e1ec8fcc1b 100644 --- a/contrib/libs/cxxsupp/libcxx/include/__concepts/arithmetic.h +++ b/contrib/libs/cxxsupp/libcxx/include/__concepts/arithmetic.h @@ -39,6 +39,8 @@ concept floating_point = is_floating_point_v<_Tp>; template <class _Tp> concept __libcpp_unsigned_integer = __libcpp_is_unsigned_integer<_Tp>::value; template <class _Tp> +concept __libcpp_not_integral = !is_integral_v<_Tp>; +template <class _Tp> concept __libcpp_signed_integer = __libcpp_is_signed_integer<_Tp>::value; #endif // !defined(_LIBCPP_HAS_NO_CONCEPTS) diff --git a/contrib/libs/cxxsupp/libcxx/include/__format/format_arg.h b/contrib/libs/cxxsupp/libcxx/include/__format/format_arg.h index 5e1565bf15..443c9e359a 100644 --- a/contrib/libs/cxxsupp/libcxx/include/__format/format_arg.h +++ b/contrib/libs/cxxsupp/libcxx/include/__format/format_arg.h @@ -250,7 +250,7 @@ private: requires is_void_v<_Tp> _LIBCPP_HIDE_FROM_ABI explicit basic_format_arg(_Tp* __p) noexcept : __ptr(__p), __type_(__format::__arg_t::__ptr) {} - template <class _Tp> + template <__libcpp_not_integral _Tp> _LIBCPP_HIDE_FROM_ABI explicit basic_format_arg(const _Tp& __v) noexcept : __handle(__v), __type_(__format::__arg_t::__handle) {} }; |