On Thu, 26 Feb 2015 18:04:28 -0500, Steven Schveighoffer wrote: >> That's true. However, what if the destructors access global >> (thread-local) variables? Is that already disallowed? > > Hm... I don't know. Is it "disallowed?" I don't think so (a simple test > would suffice), but if any code exists today that does it, it's very > very wrong :) I would suspect that such code should be banned.
but what if i'm doing memory managing myself and i *know* that it's ok to use thread-locals in my destructor?
signature.asc
Description: PGP signature
