CLE - Complex Loop Expressions

Avoid using complex expressions as repeat conditions within loops.

Wrong

`void oper () {
for (int i = 0; i < vector.size(); i++) {
// do something
}
int size = vector.size();
for (int i = 0; i < size; i++) {
// do something
}
}`

Tip: Assign the expression to a variable before the loop and use that variable instead.

Right

`void oper () {
int size = vector.size();
for (int i = 0; i < size; i++) {
// do something
}
int size = vector.size();
for (int i = 0; i < size; i++) {
// do something
}
}`