> > MemObject.cc
>
>Looks like another limitation. taking the first one: there is a for_each
>template that is explicitly for dlink_list. You might try
>for_each<StoreClientsStats>(clients, statsVisitor);
Rigth, now MSVC++ is happy:
/*
- * $Id: MemObject.cc,v 1.10 2003/07/23 10:12:33 robertc Exp $
+ * $Id: MemObject.cc,v 1.11 2003/08/03 10:37:30 robertc Exp $
*
* DEBUG: section 19 Store Memory Primitives
* AUTHOR: Robert Collins
StoreClientStats statsVisitor(s);
- for_each(clients, statsVisitor);
+ for_each<StoreClientStats>(clients, statsVisitor);
}
off_t
{
LowestMemReader lowest (endOffset() + 1);
- for_each (clients, lowest);
+ for_each <LowestMemReader>(clients, lowest);
return lowest.current;
}