CbmDefs.h: Use fwd declaration of std::ostream.
Compare changes
Files
13@@ -220,6 +220,9 @@ namespace cbm::algo::ca
@@ -220,6 +220,9 @@ namespace cbm::algo::ca
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.