Tobias Pankrath: > > I also know that people dislike using reference parameters in C++ due to > > the lack of visibility at the call site (causing them to use pointers). > > Which is true for me. Every single one of my reference parameters is const > ref or pointer.
(What you do is also required by the Google C++ style guide.) So your experience favors the use of callsite "ref" for nonconst ref arguments :-) Bye, bearophile