The Lean Mean C++ Option Parser
testodr1.cc File Reference

Detailed Description

Test for multiple definition errors.

Note
This program is for developing TLMC++OP. It is neither an example nor a functionality test. Do not worry if it doesn't compile or run on your platform.

testodr1.cc and testodr2.cc test optionparser.h for violations of the one definition rule, both at compile-time and at link-time. IOW, they test if optionparser.h can be included multiple times as well as that multiple object files that include it can be linked together.

Definition in file testodr1.cc.

Go to the source code of this file.