error: no matching function for call to `Anton::Anton(Anton)`

Eljay Love-Jensen eljay@adobe.com
Thu Oct 9 15:13:00 GMT 2003


Hi Eric,

Temporary objects are const.

Ponder this:  what would this mean...

void Change(int& i)
{
    i = 3;
}

int main()
{
    Change(7);
}

...?

HTH,
--Eljay




More information about the Gcc-help mailing list