User profile: prestokeys

User info
User name:prestokeys
Bio:Recreational programmer who started learning in 2013. Currently addicted as I learn more and more.
History
Joined:
Number of posts:319
Latest posts:

Why the ambiguity?
Yes, for this sample. I need covariant return types in my actual program. I guess I just have to d...

Why the ambiguity?
Wow! And Microsoft states that the bug is not fixable either! Then perhaps this is an acceptable w...

Why the ambiguity?
[code] #include <fstream> class Item { public: virtual Item* createFrom (std::istream&) co...

Nice little exercise
Use pointer to data members: [code] #include <iostream> struct Base { virtual ~Base() = defaul...

Nice little exercise
Here's another one. Capture the common code here with a helper function: [code] #include <iostream...