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 <
Change to:
for ( k =(index+1), l=0; k < sizeC && l < (sizeC-index); k++,l++){
When you have a comma expression is evaluated the rightmost argument is returned so your:
k < sizeC, l < (sizeC-index)
expression evaluates to:
l < (sizeC-index)
and thus misses
k < sizeC
use the && to combine the conditions instead.