Timeline for Resolving "only static const integral data members can be initialized within a class" compilation error
Current License: CC BY-SA 2.5
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 31, 2009 at 8:14 | comment | added | Hosam Aly | You're welcome. It just seemed like this was what you wanted, but I have probably been mistaken. I was misled by the fact that your getter and setter were instance methods. | |
Jan 31, 2009 at 7:47 | comment | added | OneShot | Thank you very much! Your answer was very helpful! Im not too clear on why not to use static on my members though. | |
Jan 31, 2009 at 7:30 | history | answered | Hosam Aly | CC BY-SA 2.5 |