On Saturday, 9 March 2013 at 17:51:31 UTC, Ali Çehreli wrote:
On 03/09/2013 03:15 AM, Artur Skawina wrote:

>   - static-if not creating scopes /is/ confusing, but what
would be a better
>     alternative?

I am surprised that << and >> are never mentioned:

    static_if >>
        void foo();
    <<

Problem solved. ;)

Ali

static if(condition) «
    void foo();
»

Let's do it with style ;)

Reply via email to