www.digitalmars.com         C & C++   DMDScript  

c++ - ANSI compliance problem?

[Sorry, I'm in a hurry.]

This doesn't work (defunc is unknown):

class
{
    func(def = defunc());

    defunc();
}

This does:

class
{
    defunc();

    func(def = defunc());
}

Thanks,
Sz.
Nov 01 2003