https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61761
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jan van Dijk from comment #5) > Does the usage of numeric_limits<_Tp> in complex work well for user-defined > _Tp? We can assume it does. > For complex<MyType>, at present MyType can be required to be constructible > from INFINITY to make proj work. Wouldn't using numeric_limits<_Tp> dictate > a (forbidden) numeric_limits<MyType> specialization to provide > numeric_limits<MyType>::infinity()? There's nothing forbidden about specializing numeric_limits<MyType>.