Simply put, are these two for
cycles functioning the same way:
for (int i = 0; i < (p_size < size ? p_size : size); i++);
for (int i = 0; i < {p_size < size ? p_size : size}; i++);
?
The loop is inside a method (member function), p_size
is its parameter and size
is an attribute (member variable). Microsoft Visual Studio 2015 compiles both codes, but p_size
is not coloured like the other parameters (in the editor) in the code with the curly brackets.