Commit Graph
2 Commits
Author SHA1 Message Date
Doug Gregor ad56b1c8c4 [TrailingElementsModule] Underscore internal, ABI-exposed stored properties 2025-09-08 18:52:47 -07:00
Doug Gregor 2e7fb3e12a Add "trailing elements" module with facilities for tail-allocated storage
Introduce new types `IntrusiveManagedBuffer` and `PaddedStorage` that
consist of a fixed-sized header followed by variable-sized storage. The
design of these types is inspired by the existing `ManagedBuffer` type
in the standard library, but has been adjusted both to make them
non-copyable and to eliminate the requirement for heap allocation.
2025-09-05 15:52:27 -07:00