
9 Jan
2003
9 Jan
'03
7:04 p.m.
I am trying to use bind() with std::not1() (I think this is what I want to do :-). But std::not1() gets a compiler error because bind doesnt have an argument_type typedef. bool is_something( int x, int y ) { return something( x, y ); } { ... if ( std::not1( boost::bind( is_something, 3, _1 ) ) ) { // not something } } Am I approaching this incorrectly? Does bind support argument_type? Thanks for the advice, ...Duane