On Fri, Nov 2, 2012 at 10:59 PM, Jonathan M Davis <jmdavisp...@gmx.com> wrote:
>> Is there any downside to this? > > Identifiers starting with __ are reserved for the compiler/language. It should > be __FUNCTION__ if it's built-in, but if it's in the library, I see no reason > to name it in a way that conflicts with Phobos' naming conventions like this. Er, yes, but __FUNCTION comes the OP. My question was more about using a function instead of a template. And Timon makes a good point, using a token string q{ } should make this more mixin-able.