Skip to content

[tmva][sofie] Merge operator .icc files into main .hxx files#21580

Open
guitargeek wants to merge 1 commit intoroot-project:masterfrom
guitargeek:icc
Open

[tmva][sofie] Merge operator .icc files into main .hxx files#21580
guitargeek wants to merge 1 commit intoroot-project:masterfrom
guitargeek:icc

Conversation

@guitargeek
Copy link
Contributor

Artificially splitting up the header files into two files has usually no clear benefit to me. When expanding the includes, the headers are still long, so it doesn't reduce compile time, and for the developer it's easier to think about code and make changes when the class definition and implementation is in one place.

Also, .icc is not a usual source file extension, so lots of tooling doesn't work, like clang-tidy (by default) or syntax highlighting and autocomplete in some editors.

So I would suggest to move the code all into the header files, to keep things simple and consistent.

When moving the code in this commit, it is also formatted with clang-format.

Artificially splitting up the header files into two files has usually no
clear benefit to me. When expanding the includes, the headers are still
long, so it doesn't reduce compile time, and for the developer it's
easier to think about code and make changes when the class definition
and implementation is in one place.

Also, `.icc` is not a usual source file extension, so lots of tooling
doesn't work, like clang-tidy (by default) or syntax highlighting and
autocomplete in some editors.

So I would suggest to move the code all into the header files, to keep
things simple and consistent.

When moving the code in this commit, it is also formatted with
clang-format.
@guitargeek guitargeek self-assigned this Mar 12, 2026
@guitargeek guitargeek requested a review from lmoneta as a code owner March 12, 2026 10:20
@guitargeek guitargeek added in:SOFIE clean build Ask CI to do non-incremental build on PR labels Mar 12, 2026
@guitargeek guitargeek closed this Mar 12, 2026
@guitargeek guitargeek reopened this Mar 12, 2026
@github-actions
Copy link

github-actions bot commented Mar 12, 2026

Test Results

    22 files      22 suites   3d 4h 47m 13s ⏱️
 3 804 tests  3 803 ✅ 1 💤 0 ❌
75 750 runs  75 741 ✅ 9 💤 0 ❌

Results for commit 3d05afd.

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clean build Ask CI to do non-incremental build on PR in:SOFIE

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant