CbmDefs.h: Use fwd declaration of std::ostream.
Replace the relatively heavy iostream
with the lightweight alternative iosfwd
that provides a forward declaration for std::ostream
in CbmDefs.h
.
Edit: Also see here, why it's useful to avoid including iostream
when it's not needed.
Edited by Felix Weiglhofer