Example #1
0
 /** does the current state of the underlying sequence differ
  *  from the state embodied into the last reference snapshot taken?
  * @remarks will possibly evaluate and iterate the whole sequence
  */
 bool
 isChanged()  const
   {
     auto snapshot = refIdx_.begin();
     for (auto const& elm : currentData_)
       if (snapshot != refIdx_.end() && elm != *snapshot++)
         return true;
     
     return false;
   }