[Issue 8762] instanceOf trait for static conditionals

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 5 22:18:06 PDT 2012


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



--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2012-10-05 22:06:12 PDT ---
In std.traits module, similar utility already exists (but today, it is private
template).

And recently I've posted a pull request which updates it.
https://github.com/D-Programming-Language/phobos/pull/842
https://github.com/D-Programming-Language/phobos/pull/842/files#L1R140

The name `defaultInit` comes from `default initializer` for T (, and the name
is used in the dmd implementation).

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