I have a stupid question ;) I have class Kernel. It doesn't have empty constructor, it's constructed only with some arguments. I have a KernelFactory class (it's not usual factory pattern, abstract or static, just class that generates Kernel instances with arguments).
So instead of doing: `Kernel k = Kernel(/* smth */)`I use:`KernelFactory kf; Kernel k = kf.generate(3);` It works fine, but how to make a global instance of Kernel in such a situation?