Consider the following snippet: void show_warning( message_dialog const&, user_message ); void post_command( boost::function<void()> );
int main() { boost::function<void( user_message )> f( bind( &post_command , ????( bind( &show_warning, message_dialog(), _1 ) ) // ^^^^ what goes here? ) ); } Could we make it work, somehow? Offers of a hand-written function performing the composition are not accepted :). Aleksey _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost