This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: templated cmath function instantiation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]