Using C++/WinRT’s final_release
to control which thread destructs your object
Making sure that people use make_unique
and make_shared
to make your object
My class derives from std::enable_shared_from_this
, but shared_from_this()
doesn’t work
shared_from_this
doesn't work.