In case of WinAPI itself, which takes a dozen of preprocessor definitions, would you like a WinAPI binding, where you need to mix in the WinAPI?
On Friday, 23 November 2012 at 22:20:39 UTC, Gor Gyolchanyan wrote:Mixin the template into the module scope?
I thing another way is to have the entire module a template and instantiate
that template with necessary parameters. Although that means one has to
have an additional namespace.
http://dpaste.dzfl.pl/b140509f