[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]

More problems with SPTR



extern TEMPLATE OF(class M) Accumulation OF2(Set OF(M), Set OF(M)) *
unionRecruiter (SPTR(Set) OF(M) seed = NULL);

generates the error
not implemented: constructor needed for argument initializer
The manual only says
"The default argument is a constructor or is an expression that invokes a
constructor."
The way that I (unfortunately) read this is that we can't have default
arguments where the argument must be a strong pointer in C++2.0.

Any suggestions?