Summary: functionAttributes doesn't returns
                    const/immutable/shraed/inout attributs
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from SHOO <> 2012-10-13 07:53:55 PDT ---
This code doesn't work:
import std.traits;
class A
    void foo() const { }

void main()
    auto a = new A;
    static assert(functionAttributes!( != FunctionAttribute.none);

functionAttributes does not consider these attributes now.
functionAttributes should consider these attributes.
Or there should be a different method to examine it. (eg. functionQualifiers

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to