I\'m having some trouble with this warning message, it is implemented within a template container class
int k = 0, l = 0; for ( k =(index+1), l=0; k <
The comma expression a,b,c,d,e is similar to
a,b,c,d,e
{ a; b; c; d; return e; }
therefore, k will only return l < (sizeC - index).
k will only return l < (sizeC - index).
l < (sizeC - index)
To combine conditionals, use && or ||.
&&
||
k < sizeC && l < (sizeC-index) // both must satisfy k < sizeC || l < (sizeC-index) // either one is fine.