String Mixins

Justin Johansson no at spam.com
Tue Nov 17 04:15:13 PST 2009


Travis Boucher wrote:
> Bill Baxter wrote:
>> On Mon, Nov 16, 2009 at 3:42 PM, Travis Boucher
>> <boucher.travis at gmail.com> wrote:
>>> I've been playing with string mixins, and they are very powerful.
>>>
>>> One thing I can't figure out is what exactly can and cannot be 
>>> evaluated at
>>> compile time.
>>>
>>> I'm sure there are other things that I'll run into, but I figure 
>>> there is
>>> some simple set of rules of what can and can't be used as a string 
>>> mixin.
>>
> 
> Don responded in D.learn.  The examples above should work on recent 
> (>=1.047) DMD, I happen to be using gdc with 1.020.  Right now I am just 
> seeing how far I can push it and how weird I can make code that works.

Great; saw you reposted and got your answers on D.learn.
Good luck with your further D adventures on FreeBSD*!  (* if I remember 
correctly your intro post said that's your platform.)

Justin



More information about the Digitalmars-d mailing list