Sergey Skvortsov wrote: > > Situation: There is a class with no childs (class can't be inherited by > design). > > Question: Is it safe to cache stash address in the static var? And using > this var in consequent blesses?
As long as the stash is not completely destroyed and recreated later, this should be fine (even when inheritance is involved etc.).