The following is a piece of my dateIOManip.h:
struct fullManip {}; ostream &operator << (ostream &out, fullPtr) { Date::Flags[&out] = "full"; return out; }
-Josh
Never ever put any definition with global linkage in the include file. An include file may contain only declarations.