A user question (was: Re: Faster compilation speed)
Marco Morandini
morandini@aero.polimi.it
Tue Aug 13 10:47:00 GMT 2002
Marco Morandini wrote:
> wrong code....
bleah!
Here is the right code
(pippo (dummy in italian) <-> dummy)
Marco
Version 1
-------------------
class A{
private:
double c;
public:
virtual ~A();
};
void dummy(const A&a);
int main(void) {
A a;
dummy(a);
.
.
//repeat this line N times
.
.
dummy(a);
return 0;
}
-------------------
Version 2
-------------------
void dummy(const double&a);
int main(void) {
double a;
dummy(a);
.
.
//repeat this line N times
.
.
dummy(a);
return 0;
}
-------------------
More information about the Gcc
mailing list