Browse Source
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.master
7 changed files with 12 additions and 8 deletions
Loading…
Reference in new issue