> 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.
> 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.