I'm the Grumpy Old Ape who used to answer C++ questions on Stackoverflow. I have long since ceased doing so, but am still ranked pretty high on SO.
If you're very (un)lucky, you can find me in the C++ Lounge of the Stack Overflow chat.

I occasionally retweet something on my Twitter account, and I'm known to even generate my own tweets once in a while.

19h
comment Operator overloading
@Moiz: In case you want to know whether the compiler generates an assignment operator by default, see this question and its answer.
Aug
27
awarded Populist
Aug
25
awarded Notable Question
Aug
25
comment What is the difference between a definition and a declaration?
@Pravasi: You declare two functions which have the same name, but differ in their return types. In C++, this is not allowed, you can only overload functions when their parameters differ.
Aug
24
awarded Nice Answer
Aug
23
comment Why can't I inherit from int in C++?
@DavidLively: However, there is a better answer.
Aug
23
comment Can a member function template be virtual?
@ddriver: While I provide real, hard, practical arguments for why this cannot work, you come back with hand-wavingly insisting "it can be done with limitations" without providing any evidence how so. Well, here's a reply for you. HAND.
Aug
20
comment Why use getters and setters?
@Ced: That's saying something about those frameworks.
Aug
19
revised Purpose of Trigraph sequences in C++?
added 1 character in body
Aug
15
awarded Popular Question
Aug
14
comment Can a member function template be virtual?
@ddriver: 2. Instances of (member) function templates are (member) functions, so there's no problem at all with putting a pointer to such an instance into the vtable. But which template instances are needed is only known when the caller is compiled, while the vtables are set up when the base class and derived classes are compiled. And these are all compiled separately. Even worse – new derived classes can be linked into running systems at runtime (think your browser loading a plugin dynamically). Even the source code of the caller might long be lost when a new derived class is created.
Aug
14
comment Can a member function template be virtual?
@ddriver: 1. If the compilers sees void f(concr_base& cb, virt_base& vb) { cb.f(); vb.f(); }, then it "knows" which function is invoked at the point cb.f() called, and does not know that for vb.f(). The latter has to be found out at runtime, by the runtime system. Whether you want to call this "figuring out", and whether this is more or less efficient, doesn't change these facts a bit.
Aug
14
comment Is return an operator or a function?
@BlueMoon: Indeed. And this question didn't even used to have a [C++] tag. What can I say? I was younger back then, less experienced, alone in the dark, and afraid. I am sorry.
Aug
12
awarded Nice Answer
Aug
10
awarded Yearling
Aug
8
comment When children get quiet so you know they're up to something?
I call it the Do-I-interrupt-to-save.things-or-do-I-enjoy-the-moment-of-quiet stage. (No matter what you do in the end, it's likely you'll regret it.)
Aug
7
revised Creating a simple configuration file and parser in C++
added 13 characters in body
Aug
5
answered Copying value of char pointer array to char array
Aug
5
comment Flushing stdout messages of c/c++ based executable
This is what stderr is for.
Aug
5
comment Move alternative implementations (SFINAE) of a method to seperate file
@Rambo: The std::integral_constant<> is just used as a tag to decide which overload to pick. I suppose it's an empty object, so inlining and optimization should be able to eliminate it. I'm with @Barry on this, it is probably the simplest solution.
1 2 3 4 5