Marcin Vorbrodt <> wrote in message
news:bjgc11$7oe$...
[using the return value of a static member function
as a default function parameter]
> > > No, no compiler errors at all. I was just wondering if that was
allowed
> by
> > > the C++ standard, or simply a glitch in my compiler
> >
> > Well, it's good that you check. I'm fairly sure it's valid, I'll
> > have to check the standard to be sure. No time right now, but
> > I'll post my findings when I return (unless of course someone else
> > beats me to it.
)
> >
> > -Mike
> >
> >
> >
>
> Great, cant wait to hear back from you.
What you're doing is valid, according to 8.3.6
Also note that this issue does not only apply
to constructors, but to any function.
-Mike