http://d.puremagic.com/issues/show_bug.cgi?id=785



--- Comment #12 from Walter Bright <bugzi...@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: -------

Reply via email to