Skip to content
Snippets Groups Projects
Commit cb8ac519 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Allow concrete services to be used in ServiceHandle<T>

Modify ServiceHandle to fall back on dynamic_cast if the template
argument is not an abstract interface. This is similar to the way
ToolHandle works for concrete tools.

This also adds the new header Gaudi/Concepts.h to host C++20 concepts of
common utility, starting from Gaudi::IsInterface<T>.
parent 58d5d059
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment