Bug 8941 – Documentation for the Yes struct in Phobos std.typecons appears incorrect

Status
RESOLVED
Resolution
WORKSFORME
Severity
trivial
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-11-02T08:37:00Z
Last change time
2013-01-10T11:01:30Z
Assigned to
nobody
Creator
p.summerland

Comments

Comment #0 by p.summerland — 2012-11-02T08:37:57Z
The docs say: Convenience names that allow using e.g. yes!"encryption" instead of Flag!"encryption".yes and no!"encryption" instead of Flag!"encryption".no. I could not get yes!"encription" to work. But Yes.encryption does work. Should the docs say Yes.encryption?
Comment #1 by andrej.mitrovich — 2013-01-10T11:01:30Z
Fixed in 2.061