Skip to content

WIP: C++ backward compatibility

Marian Stahl requested to merge cpp_backward_compatibility into master

Failing to make the C++ part backward compatible.

Things tried:

  • make another class, adding track info, that inherits from CoreReconTracksIO and deduce type with std::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() or VecIO<Out, double>::VecIO() ctor when the newly implemented operator

Vec operator[](const std::string&& var) const {return track_variables[var];}

is called.

Merge request reports