[Issue 8941] New: Documentation for the Yes struct in Phobos std.typecons appears incorrect

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 2 08:37:57 PDT 2012


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

           Summary: Documentation for the Yes struct in Phobos
                    std.typecons appears incorrect
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: p.summerland at gmail.com


--- Comment #0 from Peter Summerland <p.summerland at gmail.com> 2012-11-02 08:37:57 PDT ---
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?

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