On Sun, Sep 16, 2007 at 02:11:44PM +0200, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | PS: > | > | > - bool const empty() const > | > + bool empty() const > | > { > | > return data_.empty(); > | > } > | > | So gcc starts complaining about the first 'const'? Nice. > > Not all "first 'const'" though. Only for basic types it seems.
Probably because it makes a difference for those. In any case, I do not like the const for non-basic types as well. Line noise without real good reason. Andre'