align number

Katayama Hirofumi MZ katayama.hirofumi.mz at gmail.com
Thu Jun 7 21:31:26 PDT 2012


On Friday, 8 June 2012 at 04:16:18 UTC, Denis Shelomovskij wrote:
> It's D and there is no C preprocessor:
> ---
> version(Win64) {
>   align(8):
>   ... aligned 8 ...
> } else {
>   align(4):
>   ... aligned 4 ...
> }
> ... default aligned ...
> ---

The code overlaps and it is not much smart.


More information about the Digitalmars-d mailing list