December 2006
1 post
1 tag
Default Constructor vs. Empty Constructor
While coding away new classes for your C++ project, do you have the habit of just dropping in a constructor definition, just in case you may in the future need to do some initialization at construction? A while ago, I had wondered if there would be any difference at compile time between having an empty constructor and having no constructor at all (and thus using the default constructor). I did a...