On Tue, Feb 27, 2024 at 10:43 PM Tom Tromey wrote: > This patch makes allocate_on_obstack a little bit safer, by enforcing > the rule that objects allocated on an obstack must have a trivial > destructor. > > The static assert is done in a method -- doing it inside the class > itself won't work because the class is incomplete at that point. > --- > > Looks great. I can confirm this change does not cause any regressions for aarch64 Fedora Rawhide.