Gaudi::Functional::vector_of_const_<Container*> operator[] + ::at() wrong return type
If I understand correctly, vector_of_const_<Container> (defined in FunctionalDetails.h) is supposed to handle <Container*> aswell to enable optional entries.
When I want to use vector_of_const_<Container = LHCb::Tracks*>::operator[], the return type is const Container&, but the function returns *m_containers[i] (which is of type LHCb::Tracks).
In my opinion, in case of a Container* type, this should rather return m_containers[i].
Same for vector_of_const_::at
Edited by Niklas Stefan Nolte