Hacker News new | ask | show | jobs
by quietbritishjim 876 days ago
But not an abstract data structure that can be allocated on the stack.

(Your example can go on the stack. A struct with a final array member of unspecified size can work as an abstract data structure. But you can't have both at once.)