On Fri, Feb 25, 2011 at 11:21 AM, Kyle Girard <k...@kdmanalytics.com> wrote: > >> That *is* the content of the bar method. What exactly do you expect to see >> happening when you assign a class with no members? There's nothing to do! > > > I was hoping to see the assignment. My example might have been a little > too simple. Here's a slightly more complex example: > > foo.hh > > class A > { > public: > void yay(){}; > };
A is still an empty class, try adding "int a;" and you will see some code there. Thanks, Andrew Pinski