externally imposed conditional compilation

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Fri Nov 23 21:55:37 PST 2012


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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121124/2d85978f/attachment.html>


More information about the Digitalmars-d mailing list