A little Problem translating a header file.

Kagamin spam at here.lot
Tue Nov 15 11:40:15 PST 2011


> struct ACS
> {
>    static ubyte ULCORNER() { return acs_map['k']; }
> }
> 
> now can call without parentheses:
> 
> addch(ACS.ULCORNER);

ideally this function should be inlined, try to check it.


More information about the Digitalmars-d mailing list