Abdelrazak Younes wrote:
>>> Please leave this const and make schedule_check_ mutable.
>>>      
>>
>> can you explain why (sincere question)?
>>    
>
> Because, by definition, checking for emptyness is not something that should 
> change the contents of a class. The scheduled checking is an implementation 
> detail and the user of that class is not interested in the details.

i dont know which definition states that empty should be const and remember
reading somewhere that making conditions in your program which are based on
mutable variable shows there is something wrong. not only we are chaning
internal data structures, but also we change the behaviour wrt interaction with
clipboard.

pavel

Reply via email to