Exceptional initialization list

November 30th, 2010 § 9 Comments

Using the initialization list is very much encouraged in C++, and rightfully so - it has many benefits. But what happens if one of your members fails at initialization and actually throws an exception? Even worse: what happens if that member’s constructor throws an exception not in your exception specification list?

« Read the rest of this entry »

Where Am I?

You are currently viewing the archives for November, 2010 at 0x.