Pull Request №723 RosettaCommons/rosetta/main ← lyskov-ai/rosetta/fix/numeric-gcc15-template-id-cdtor
Merge: 9567e54bafdaf4697b28b6f4d41a07596e50ed5c←5f88382e5242482039bed0812b890a38fbd85dae
Drop template-id from MathVector/MathMatrix ctor/dtor names (GCC 15 -Werror=template-id-cdtor)
----------------
Merge commit message:
Drop template-id from MathVector/MathMatrix ctor/dtor names (GCC 15)
GCC 15 enforces -Werror=template-id-cdtor: a class template may not name
its own constructors or destructors with explicit template arguments
(the injected-class-name must be used without <...>). MathVector and
MathMatrix declared several ctors and their dtor as e.g.
'MathVector< T>()' and '~MathVector< T>()', which fails to compile under
GCC 15 in C++20 mode and broke the debug build before it reached any
core/ code.
Drop the '< T>' so these match the injected-class-name form already used
by the copy constructors in the same classes. No semantic change.