mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-03 19:22:27 +00:00
Release Cosmopolitan v3.6.0
This release is an atomic upgrade to GCC 14.1.0 with C23 and C++23
This commit is contained in:
parent
62ace3623a
commit
5660ec4741
1585 changed files with 117353 additions and 271644 deletions
2
third_party/libcxx/__memory/voidify.h
vendored
2
third_party/libcxx/__memory/voidify.h
vendored
|
@ -22,7 +22,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD
|
|||
template <typename _Tp>
|
||||
_LIBCPP_ALWAYS_INLINE _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void* __voidify(_Tp& __from) {
|
||||
// Cast away cv-qualifiers to allow modifying elements of a range through const iterators.
|
||||
return const_cast<void*>(static_cast<const volatile void*>(_VSTD::addressof(__from)));
|
||||
return const_cast<void*>(static_cast<const volatile void*>(std::addressof(__from)));
|
||||
}
|
||||
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue