C++ Function Try Blocks

14 November, 2008 § 1 Comment

Will it compile?

That is the question for this post. Suppose you have a class definition and constructor with an object initializer list like the following:

class CObject
{
   CFoo foo;
   CBar bar;
};

CObject::CObject() : foo(2), bar(3) {}

« Read the rest of this entry »

Where Am I?

You are currently browsing entries tagged with object initializer constructor at JAWS.

Follow

Get every new post delivered to your Inbox.

Join 982 other followers