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.
Merge request reports
Activity
added 9 commits
-
6cd4df35...71ce845d - 5 commits from branch
computing:master
- 19c76d61 - CbmDefs.h: Use fwd declaration of std::ostream.
- 8fce15ac - Add missing <ostream> include.
- 9bc0176f - clang format.
- ecd0c14c - Fix integer types.
Toggle commit list-
6cd4df35...71ce845d - 5 commits from branch
Dear @d.smith, @fweig, @a.bercuci, @p.kaehler, @c.pauly, @f.uhlig, @v.friese, @p.-a.loizeau, @ma.beyer,
you have been identified as code owner of at least one file which was changed with this merge request.
Please check the changes and approve them or request changes.
added CodeOwners label
added 8 commits
-
ecd0c14c...9bb00372 - 4 commits from branch
computing:master
- 4f5b8a90 - CbmDefs.h: Use fwd declaration of std::ostream.
- bf876ea4 - Add missing <ostream> include.
- 19c36328 - clang format.
- b93d0dac - Fix integer types.
Toggle commit list-
ecd0c14c...9bb00372 - 4 commits from branch
@f.uhlig, @p.-a.loizeau: could one of you review this?
looks reasonable from my side. Probably the same improvement can be done at several places in the code base.
added 12 commits
-
b93d0dac...384380a8 - 8 commits from branch
computing:master
- 8f6e4573 - CbmDefs.h: Use fwd declaration of std::ostream.
- ae964756 - Add missing <ostream> include.
- 674febd7 - clang format.
- 2181a255 - Fix integer types.
Toggle commit list-
b93d0dac...384380a8 - 8 commits from branch
enabled an automatic merge when the pipeline for 2181a255 succeeds
added Build System Code Styling labels