makeSingleton

make an anonymous namespace containing a ptr to an instance of a test double that implement the interface needed.

@safe
CppNamespace
makeSingleton

Meta