RE: [boost] FC++ Lambda

17 Feb
2004
17 Feb
'04
6:23 p.m.
bind(delete_ptr(), _1)
std::for_each( tests.begin(), tests.end(), delete_ );
That is nice. I wonder why BLL didn't do this instead of delete_ptr()?
*) Because I didn't think about using trailing "_" until I saw Joel use them with spirit. *) And because what to you call delete_array() ? (overload operator[T] ? for delete_ ? (With actually trying to code this:) std::for_each( tests.begin(), tests.end(), delete_[noop] ); Yours, -Gary-
7789
Age (days ago)
7789
Last active (days ago)
0 comments
1 participants
participants (1)
-
Powell, Gary