Skip to main content

Questions tagged [out-parameters]

4 votes
2 answers
3k views

I have some incoming request - it's an instance of class generated from api specification - POJO with public getters/setters. I would like to normalize some values. For example dimensions (to use ...
Shaolin's user avatar
  • 43
15 votes
3 answers
11k views

In Other C++ Features, Reference Arguments of the Google C++ Style Guide, I read that non-const references must not be used. All parameters passed by reference must be labeled const. It is clear ...
Wolf's user avatar
  • 640
8 votes
4 answers
12k views

We have a function that modifies a JS object, by adding some custom properties to it. The function doesn't return antyhing addTransaction: function (obj) { obj.transactionId = this....
Ruan Mendes's user avatar