WIP: C++ backward compatibility
Failing to make the C++ part backward compatible.
Things tried:
-
make another class, adding track info, that inherits from
CoreReconTracksIO
and deduce type withstd::conditional
based on predicate passed by command line argument. this doesn't work as the predicate has to be compile time constant (constexpr
). a workaround might be to set a flag already during compilation -
this attempt to dynamically set variables. it fails with a template deduction error on the
VecIO<In, double>::VecIO()
orVecIO<Out, double>::VecIO()
ctor when the newly implemented operator
Vec operator[](const std::string&& var) const {return track_variables[var];}
is called.