13 Nov
2013
13 Nov
'13
7 p.m.
On Wed, Nov 13, 2013 at 8:06 AM, Jeff Flinn
Maybe I don't see all of the context but how does icase shadow icase_ in the code above? Also std::size_t count = this->bset_.count(); seems perfectly fine to me - less of an issue than picking a less suitable variable name.
Note that the class has both an icase() and count() member so g++ is warning about the possible confusion of identical class member names. Remember, the intent of the warning is to warn the programmer about possible misuse of one versus the other, so clearly renaming one is a good practice for code for public use. Best regards, -Tom