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

Re: [LC++]Default Arguments



On Fri, 10 May 2002, Shaul Karl wrote:

Ah, that's what I was looking for! Thanks. -Jack

> According to the `C++ Primer', 3rd edition, page 353:
>
>       A default argument does not have to be a constant expression. Any
>     expression can be used.
>
>     [skipping an example]
>
>       When the default argument is an expression, the expression is
> evaluated
>     at the time the function is called
>
>
>
>