Diamond Inheritance and Constructors in C++
Can you remember all the inheritance rules in C++? I certainly can’t, which bit me recently. Here’s a simple inheritance tree (bottom-most node is most derived):
A
|
B
/ \
C D
Can you remember all the inheritance rules in C++? I certainly can’t, which bit me recently. Here’s a simple inheritance tree (bottom-most node is most derived):
A
|
B
/ \
C D
In the last couple of months, I have attempted to relaunch a technical blog several times. Mostly, my progress was stymied by the fact that blog and web software just always feels awkward (and not, say, my laziness). This time, I’m trying a Jekyll-based approach, which, at least at first glance, suits my habits much better than Wordpress ever did (well, mostly. On the upside, I can use git, vim, Markdown… but then there’s Ruby. Oh well, maybe I’ll get used to it at some point).
More …