Re:Typedefs & Linus
by jamesaguilar on Thursday October 14, 2010 @04:47PM
(#1792527)
Header documentation and pointer-as-output conventions are both typically available in the Google libraries I've used.
I really don't understand what you are complaining about. Earlier you said you didn't like references being modified by functions to which they are parameters. Now you are complaining about the use of pointers as parameters? In a language like C++, it's pretty difficult to do neither.
Re:Typedefs & Linus
by leif on Friday October 15, 2010 @01:56AM
(#1793805)
No, I'm not opposed to references being modified by functions, I'm opposed to the "ampersand" syntax of C++. I am fully in support of just passing a pointer and being straightforward about it.
I really don't understand what you are complaining about. Earlier you said you didn't like references being modified by functions to which they are parameters. Now you are complaining about the use of pointers as parameters? In a language like C++, it's pretty difficult to do neither.