There was a problem fetching the pipeline summary.
Allow ADL lookup of parse and toStream
Currently, if one introduces a `Gaudi::Property<T>`, then there must be a corresponding `StatusCode Gaudi::Parsers::parse(T&,const std::string&)` in the namespace `Gaudi::Parsers` and a corresponding `void Gaudi::Utils::toStream(const T&, std::stream&)` in the namespace `Gaudi::Utils`. This patch explicitly enables [ADL](http://en.cppreference.com/w/cpp/language/adl) lookup (with a fall-back to `Gaudi::Parser::parse` and `Gaudi::Utils::toStream`) so that it is sufficient to either define `parse` and `toStream` in the namespace in which `T` is defined, or add them as `friend` functions to `T`. See merge request !242
Loading
Please register or sign in to comment