C++ Logo

std-proposals

Advanced search

Re: [std-proposals] std::sizeof_minus_trailing_padding

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Thu, 30 Nov 2023 21:33:18 +0000
On Thu, Nov 30, 2023 at 8:36 PM Arthur O'Dwyer wrote:
>
> This is the `__datasizeof` builtin. In chronological order:
> https://orodu.net/2023/01/15/trivially-relocatable.html (Ctrl+F data_size_of)
> https://quuxplusone.github.io/blog/2023/02/24/trivial-swap-x-prize/#if-stdswap-cant-memcpy-then-how-do-we-trivially-swap
> https://clang.llvm.org/docs/LanguageExtensions.html#implementation-defined-keywords



Okay then so we need __datasizeof in C++26, right?

Received on 2023-11-30 21:33:31