Trk::Parameters, move remaining methods on the .icc files, add compile time check on Charged/Neutral
-
move remaining inline methods from the .h to the .icc files. Then do a format also of .h
-
The DIM (
N
) is known at compile time and there was already aconstexpr
variable for it. -
In reality we only have
Charged
orNeutral
Parameters (theT
in the template list) .In C++17 We can enforce this also at compile time Also we can have aconstexpr
method that can also tell what was usedisCharged
-
Add 2 tests to test the
dim
andisCharged
-
It seems that
clang-tidy
prefersusing
rather thantypedef
as "modern" style.
Edited by Christos Anastopoulos