then secondValue will be used, right ? Because, the statement says
if the firstValue > secondValue, use firstValue. Otherwise it's secondValue... (sic)
Yes. Consider this example for clarity:
1 2 3 4 5 6 7 8 9
int main( )
{
int Value( 0 );
int FirstValue( 10 ), SecondValue( 23 );
Value = ( ( FirstValue > SecondValue ) ? FirstValue : SecondValue );
std::cout << "Biggest: " << Value << std::endl;
}
In this code, Value is assigned the value of SecondValue. If the condition is true, FirstValue would be assigned to Value. If the condition is false, SecondValue is assigned to Value.
Now, assigning FirstValue to the value of SecondValue won't make a difference except that Value will have the same value, be the condition true or false.