root
root copied to clipboard
[cling] Add a template overload for findType
The existing findType function requires the type name to be passed as a string. This new overload allows the type to be passed as a template argument which has the benefits of providing more natural C++ syntax and allowing the type lookup to happen during parsing instead of execution.