j
k
j a
j l
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));
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
Back to the thread
Back to the list