Closed tost11 closed 1 year ago
Hi @tost11
Out of all the issues you opened today, this one we might implement sometime but I can't guarantee it, it all depends on the best course of action we decide as a team.
I'll close the issue for now as there are some plans for a revision to the Inkplate library and I'm sure this design pattern will be thrown into the discussion, but it all has to go through the team. Thanks for your input!
use something like that:
ifndef SRC_CORE_SINGLETONHPP
define SRC_CORE_SINGLETONHPP
template
class Singleton
{
public:
static T& get();
}