Marco, I think your style is wrong :) In C and C++, & and * are part of the variable, not part of the type: A b, *c, d, &e(b); That is why they usually go next to the variable and not the type.
Also, the Google C++ style guide that Unity is meant to use agrees: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Reference_Arguments but then it allows both styles :) http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Pointer_and_Reference_Expressions
« Back to merge proposal
Marco, I think your style is wrong :)
In C and C++, & and * are part of the variable, not part of the type:
A b, *c, d, &e(b);
That is why they usually go next to the variable and not the type.
Also, the Google C++ style guide that Unity is meant to use agrees: google- styleguide. googlecode. com/svn/ trunk/cppguide. xml#Reference_ Arguments google- styleguide. googlecode. com/svn/ trunk/cppguide. xml#Pointer_ and_Reference_ Expressions
http://
but then it allows both styles :)
http://