Liste des Groupes | Revenir à cl c |
On 2025-05-03, Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:
>If it is legal, then why isn't it used more often? Is it a readability/>
maintainability issue, or is it something else?
It's not used more often because
>
- programmers are irrationallyafraid that there will be lots of
overhead when the structure gets large.
>
(In fact, passing large structs by value is implemented
using a hidden pointer; a copy is not made unless the calee
modifies the parameter.
Les messages affichés proviennent d'usenet.