User profile: prestokeys

User info
User name:prestokeys
History
Joined:
Number of posts:105
Latest posts:

auto fails. What is the type here?
Also does not compile is: [code] #include <map> #include <functional> struct A { void func1 ...

auto fails. What is the type here?
My note above: When func1 and func2 are global, it compiles. So the complication is due to them bei...

auto fails. What is the type here?
No that doesn't work either (with typos fixed). Initializer lists can initialize a map, but I'll us...

auto fails. What is the type here?
[code] #include <map> #include <functional> struct A { void func1 (int x) {}; void func2 (i...

Decorator Pattern Method. How to avoid these repetitions?
Okay, here is my solution using template specialization for MagicUser, and also variadic templates t...