C++ : vector. resize() does not reset


#1

rowHash.resize(9, false); does not set the bool vector (rowHash)to false after every loop; whereas reinitializing it by vector rowHash(9, false); everytime works. Any reason ??