From: Daniel Lidström (daniel.lidstrom_at_[hidden])
Date: 2006-02-01 10:14:04


Sebastian Redl scribbled:

> Yes, but you need binding syntax:
>
> typedef list< list< int > > lli;
> for_each(ll.begin(), ll.end(), var(count) += bind(&lli::size, _1));

Thanks to both Sebastian and Stuart!

Hälsningar,
Daniel