J
Jakob Bieling
Still, simpler is the version I posted:
test func1 (int r)
{
test t(r == 0? test() : func1 (r - 1));
if (r != 0)
t.m_strings.push_back ("lala");
return t;
}
also does the job.
Thanks Tom, but as I am bound to using VC++ 7.1, I guess I will try to
use the proxy-method mentioned by Denis.
Thanks!