@pcwalton I think a safe subset of C++ would "only" have to ensure that "this" is always safe to use in the contexts where it is used.
-
-
-
@BRIAN_____ I don't think there's any way to do that without a lifetime system. - 4 more replies
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@pcwalton how about Managed C++ ?Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
This Tweet is unavailable.
-
-
@pcwalton std::enable_shared_from_this (at least it's standard) http://en.cppreference.com/w/cpp/memory/enable_shared_from_this …Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@pcwalton Don’t give up hope! Ironclad C++ uses static and dynamic checks to enforce safety for ‘this’. Mostly static, w/ distinct smart ptrThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.