A Socratic dialogue exploring the relationship between Clang's `[[clang::trivial_abi]]` attribute and trivial relocatability in C++. The discussion establishes that trivial-abi types are effectively trivially relocated when passed in registers (bits copied in and out), which is why Clang's `__is_trivially_relocatable` returns

12m read timeFrom quuxplusone.github.io
Post cover image

Sort: