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


Simen Kjaeraas <simen.kja...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |simen.kja...@gmail.com
         Resolution|                            |INVALID


--- Comment #1 from Simen Kjaeraas <simen.kja...@gmail.com> 2010-10-02 17:40:01 
PDT ---
This is because const and auto are both storage classes. What you want is
easily achieved by using this syntax:

class Foo {
    public:
       const foo( ) {
           return 0;
       } 
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to