|
-
September 2nd, 2009, 08:45 AM
#6
Re: remove_if (not)
 Originally Posted by monarch_dodra
Yes, that's why I can pass isalpha as an argument. however, I'm having trouble building a not1(isalpha) function. Not1 takes only function objects.
How can I negate a function, and pass the result as an argument?
That's what std::ptr_fun from the functional header's for.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|