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 Sat, Nov 24, 2012 at 5:12 AM, Vladimir Panteleev <vladimir@thecybershadow.net> wrote:
On Friday, 23 November 2012 at 22:20:39 UTC, Gor Gyolchanyan wrote:
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.

Mixin the template into the module scope?
http://dpaste.dzfl.pl/b140509f



--
Bye,
Gor Gyolchanyan.