I'm the Grumpy Old Ape sometimes answering C++ questions on Stackoverflow.
Usually you will 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.

17h
comment Instantiating a class within a class
A default ctor most certainly isn't "a matter of appropriateness", or, if it is, then often only in the sense that for many classes its inappropriate to have one.
17h
comment Instantiating a class within a class
@iheanyi: In order to solve the problem as stated, you need to. Otherwise Inner would not have an initialized data member. Also, my classes quite often do not exhibit a default constructor. That's because for many of my classes an initialized-but-data-not-populated state makes no sense. YMMV, but adding default constructors just to avoid listing data members in the initialization list certainly seems a very wrong advice to me.
Jul
25
comment Whats the right approach to return error codes in C++
@Pacerier: In the years since my last comment here I have started to program for an embedded platform. We have hard RT constraints and should we fail, power plants might blow up. However, in most situations, in order to propagate the information about an error up the call chain, we use exceptions. Of course, not everywhere, but even in a RT application there's a surprising amount of code where speed doesn't matter enough to sacrifice correctness for.
Jul
25
comment High pitched screaming before sleeping
@Jax: I dunno about you, but when you have to care for the kids all the time, when you (both) have demanding jobs, undergoing the everlasting tension between those two forces (any kid might get ill at any time, forcing one of the parents to stay home while they're under pressure at work), when you juggle with the wildly differing demands the different classes, schools, kindergartens make to parents, and deal with issues ranging from getting rid of the need for diapers to a pre-teenager's struggles to first sex for 7 days a week... I consider it well-deserved to simply collapse in the evening.
Jul
25
revised Can a member function template be virtual?
added 1 character in body
Jul
25
awarded Great Answer
Jul
22
comment Book where a game dev's daughter gets stuck in the game
This sounds a little bit like Halting State by Charles Stross, However, I cannot remember anything about people getting stuck in the game, so this is likely wrong.
Jul
22
answered High pitched screaming before sleeping
Jul
22
comment Has the Magical Community breached the Final Frontier? (aka Wizards in Space?)
I guess it's just that JKR wasn't terribly interested in space flight and thus didn't really consider it when creating her world.
Jul
22
comment Has the Magical Community breached the Final Frontier? (aka Wizards in Space?)
The first Muggle was shot into space in 1961, not 1951.
Jul
18
comment What's wrong with const?
@j_random: C++ is a multi-paradigm language and, for example, increasingly supports functional programming. I find myself rely on mutable data less and less over the years, and make everything const by default.
Jul
18
awarded Yearling
Jul
18
awarded Yearling
Jul
18
comment Consistency of an object
@supercat: "Quasi-classes are perfectly fine in cases where what is needed is simply to have a means of collectively identifying a bunch of independent-but-related variables." You're referring to what a struct is in C. Yeah, that's fine, but not what the article refers to. (Have you considered reading it?)
Jul
16
accepted How do non-integral constants work in C++?
Jul
16
comment How do non-integral constants work in C++?
@Mike. In practice, most integral constants will very likely just evaporate. And I was asking about what happens if they can not for whatever reasons, or if they cannot because they aren't integrals.
Jul
16
comment How do non-integral constants work in C++?
@Mike TTBOMK, compilers can eliminate integral constants and use them as if they were literals.
Jul
16
comment How do non-integral constants work in C++?
@TemplateRex: I've added note explaining this.
Jul
16
revised How do non-integral constants work in C++?
added 249 characters in body; edited tags
Jul
16
asked How do non-integral constants work in C++?
1 2 3 4 5