[Issue 785] Make 'cent' and 'ucent' syntactically valid pending implementation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 31 16:55:01 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=785
--- Comment #12 from Walter Bright <bugzilla at digitalmars.com> 2012-01-31 16:54:48 PST ---
>The point of doing this is to enable libraries to support cent/ucent _if_ the
language/compiler/platform supports it, by using a static if to test whether
the type exists.
You can do something like:
static if (__traits(compiles, { ucent a = 3; })) ...
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list