next up previous contents
Next: Equality expression evaluation: (1 Up: Tips and Tricks Previous: Copy constructor and assignment   Contents

Passing structs as parameters

There are two cases that benefit greatly from having a structs passed as the parameter rather than its individual parameter counterpart:

The following listing shows some methods in serious need of parameter passing help:


43#43

Should be changed to:


44#44



Falko Kuester 2001-08-24