Returning a struct with a destructor and not binding it to a variable appears to make the destructor run immediately instead of at the end of the scope.
Is this intended?

example:
http://dpaste.dzfl.pl/dd285200ba2b

Reply via email to