JeffersonLab / JANA2

Multi-threaded HENP Event Reconstruction
https://jeffersonlab.github.io/JANA2/
Other
6 stars 9 forks source link

JParameterManager gives clean error messages for unsupported types (Addresses issue #132) #252

Closed nathanwbrei closed 11 months ago

nathanwbrei commented 11 months ago

Previously, the compiler would emit hundreds of lines of failed template matches for operator<<.

Now, it emits the following:

Type is not automatically serializable by JParameterManager. To use, provide a template specialization for JParameterManager::Stringify(const T& val) -> std::string.