templated cmath function instantiation
Gabriel Dos Reis
Gabriel.Dos-Reis@cmla.ens-cachan.fr
Mon Jun 25 13:06:00 GMT 2001
Phil Edwards <pedwards@disaster.jaj.com> writes:
| On Mon, Jun 25, 2001 at 08:05:13PM +0200, Gabriel Dos Reis wrote:
| > And I guess I was the deleter... It is fine to resurrect it.
|
| Okay. The only other issue is that __cmath_power is only used when the
| c_std scheme is active.
Yes, #include <cmath> and explicitly instantiating __cmath_power for
float, double and long double should not cause any harm.
| ... In other shadow{y,ing} schemes, the compiler will
| complain that we are explicitly instantiating a template function that was
| never declared and for which no primary exists.
I thought one of the agreement was that we should implement <xxx.h>
in terms of <cxxx>. Am I missing something?
-- Gaby
More information about the Libstdc++
mailing list