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.

8h
revised When do you prefer using std::list<T> instead of std::vector<T>?
added 6 characters in body
2d
comment How to get a meaningful function signature from anything callable
@Matthieu: Thanks, function_traits is exactly what I did for plain functions a decade ago, and what I expected by now to already exist. That leaves the problem of std::function<> (which might, through clever overloading, be reducible to std::function<F>, with F being crackable by function_traits). That leaves bind(). :(
2d
comment How to get a meaningful function signature from anything callable
I was mentioning type erasure. For this, I need the types at compile-time. Conveniently, I also have them available at compile-time, since they're embedded in the signature of F. I only need to crack that F. At compile-time.
2d
comment How to get a meaningful function signature from anything callable
Yes, and I didn't have an idea how to deduce those, nor how to discriminate between all the possibilities in order to use the correct mechanism to crack the signature.
2d
comment How to get a meaningful function signature from anything callable
@Joachim: 1) There's no more modern C++ compiler for the embedded platform I am on. 2) Keep counting beans if you want. Meanwhile, we have C++03, TR1, and boost 1.52 available. 3) Of course you can deduce function arguments from a function passed in as template argument at compile-time. I know how to do that. I just don't know how to do this when anything callable can be passed.
2d
comment How to get a meaningful function signature from anything callable
@Angew: I learned in previous questions that people are used to std::function and choke on std::tr1::function. (But then some smart ass comes along and points out that, literally, this is wrong. It seems I can't win this game...)
2d
comment How to get a meaningful function signature from anything callable
@Joachim: And your point is?
2d
revised How to get a meaningful function signature from anything callable
added 64 characters in body
2d
comment How to get a meaningful function signature from anything callable
@Joachim: std::tr1::function() was codified in TR1, which was published in C++03.
2d
comment How to get a meaningful function signature from anything callable
OK, I hadn't thought of functors with overloaded operator(). It doesn't apply here, though. If it's a functor, it's the result of std::bind() and there's just one overload.
2d
revised How to get a meaningful function signature from anything callable
added 29 characters in body
2d
asked How to get a meaningful function signature from anything callable
Aug
18
comment Magical accident makes magician super powerful
Rincewind? :)
Aug
13
comment Would switching to a Waldorf kindergarten be worth the potential stress to our active pre-schooler?
@user The latter is indeed good advice. That's how I did (not) pick a school for one of my kids: The parents I talked to in front of the school weren't overly eager to praise the school their kids went to. All alarms went off there.
Aug
13
comment Would switching to a Waldorf kindergarten be worth the potential stress to our active pre-schooler?
@user Same here. (At least it used to be, when we were looking.) However, IME, you learn more when those taking care of the kids feel unwatched.
Aug
11
awarded Nice Answer
Aug
10
awarded Yearling
Aug
6
revised How much commentary is permitted in answers?
deleted 5 characters in body
Aug
6
comment How much commentary is permitted in answers?
I am absolutely distraught by the probably half a dozen downvotes I got through your comment. Since they made such a huge dent in my reputation (most of which, BTW, I amassed after I essentially stopped answering a couple of years ago), this is clearly changing my mind on the whole subject of adding anecdotes to explain why I have certain opinions.
Aug
5
comment Can a user be tracked from this comment?
@DVK: "Sometimes compilers are so much more reasonable than people." – Scott Meyers
1 2 3 4 5