Allow (simple) use of Gaudi:::Property<regex>
At the moment it is not possible to have a Gaudi::Property<std::regex>
because one cannot implement std::ostream& Gaudi::Utils::toStream( const std::regex& obj, std::ostream& s )
since std::regex
cannot be converted to string (a specialization of Gaudi::Property<>
or a wrapper around the regex might work around the problem).
An alternative is to use Gaudi::Property<boost::regex>
because toStream
can be implemented in terms of boost::regex::str()
, but this fails because genconf does not use the right version of toStream
, unless it is defined before including Gaudi/Property.h
.