Jul 042012

One Definition Rule (ODR)

In C++, declaration does not allocate any memory. Its only when an object (or function) is defined that an instance of it is created.

The One definition Rule says that there cannot be more that one definition in a single translation unit of C++. Continue reading »