On 13 December 2013 15:39, Daniel Murphy <yebbl...@nospamgmail.com> wrote:

> "Manu" <turkey...@gmail.com> wrote in message
> news:mailman.513.1386905921.3242.digitalmar...@puremagic.com...
> >
> > Which appears basically everywhere an asm block does. 'asm' could
> > optionally receive an architecture as argument, and lower to the version
> > wrapper:
> >
> > asm(x86)
> > {
> >  ...
> > }
> > else asm(ARM)
> > {
> >  ...
> > }
> >
> > (The 'else's in those examples seem unnecessary)
> >
>
> meh
>
> version(x86) asm
> {
> }
> else version(ARM) asm
> {
> }
> else
> ...
>

Haha, okay. Good point.
I never think of version statements like that for some reason.
Mental throwback to #define perhaps, which requires it's own line >_<

Reply via email to