Is the world coming to an end?

Adam D. Ruppe destructionator at gmail.com
Sun Apr 3 10:19:11 PDT 2011


KennyTM~ wrote:
> Talking of asm, would the following be expected to work?

Maybe. Part of me says "yes, it should be the same as a literal*"
but part of me says no because it's weird to drop a template in
an asm block.

* For example:

enum a = octal!777;
asm {
   mov EAX, a;
}

does indeed work.


But, all in all, I don't think octal! itself in asm should work.
It's not literally a literal.


More information about the Digitalmars-d mailing list