C++ guys hate static_if?
deadalnix
deadalnix at gmail.com
Sat Mar 9 10:10:02 PST 2013
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 ;)
More information about the Digitalmars-d
mailing list