Re:C++ Exit-Time Destructors
by dataflow on Saturday March 23, 2024 @01:30AM
(#39797713)
> the language has no concept of ownership of things like function pointers and pointers to static data. It's easy to imagine a better language
I actually have both a hard time imagining a better language (not saying it's impossible, just that it's not trivial for me to see) and also how ownership would resolve this issue. Could you elaborate?
I actually have both a hard time imagining a better language (not saying it's impossible, just that it's not trivial for me to see) and also how ownership would resolve this issue. Could you elaborate?