numere-org / NumeRe

Framework for numerical computations, data analysis and visualisation
https://www.numere.org
GNU General Public License v3.0
18 stars 6 forks source link

Demangle expressions in assertion and general errors messages #219

Open numeredev opened 3 months ago

numeredev commented 3 months ago

DESCRIPTION

Is your change request related to a problem? Please describe. Assertion errors can be hard to read due to the mangled names. Demangling would be helpful. Might even be helpful for error messages in general.

Describe the solution you'd like Demangle the names by a heuristic and detect mangled names by a std::regex_match() test.

Describe possible alternatives you've considered A clear and concise description of any alternative solutions or features you've considered, if any.

Additional context Add any other context or screenshots about the feature request here.

(Do not write below this line)


DEVS' SECTION

ANALYSIS

See alsi #220. The mentioned Demangler should fulfill this requirement automatically. Simpy apply it to the necessary locations.

IMPLEMENTATION STEPS

(see also our Wiki for implementation guidelines)

DOCUMENTATION STEPS

(see also our Wiki for further information)

PULL REQUEST