Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: default parameters
Gerhard Steiner wrote:
>
> Hello,
> I am trying to implement a patch for sorting.
> There is a function called cListBase::Sort(void) which I
> what to change to cListBase::Sort(bool asc=true).
>
> Is it possible (allowed, good style) to use default
> parameters?
> Since cListBase::Sort is called very often, this would be
> the better solution, or should I change very call of
> cListBase::Sort(void)?
Using a default parameter is the way to go.
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index