Gary Powell wrote:
> >Consider the following snippet:
> >
> >void show_warning( message_dialog const&, user_message );
> >void post_command( boost::function );
> >
> >int main()
> >{
> >boost::function f(
> > bind( &post_command
> >, ( bind(
On Mon, Aug 11, 2003 at 10:54:40PM -0500, Aleksey Gurtovoy wrote:
> Gary Powell wrote:
> > >Consider the following snippet:
> > >
> > >void show_warning( message_dialog const&, user_message );
> > >void post_command( boost::function );
> > >
> > >int main()
> > >{
> > >boost
>Nope. Please see http://article.gmane.org/gmane.comp.lib.boost.devel/23466
>for the semantics clarification. Basically, I want the whole bind
>expression to return an unary function object which, when invoked, will
>use the argument to construct a nested nullary function object:
>bind( &sho
Consider the following snippet:
void show_warning( message_dialog const&, user_message );
void post_command( boost::function );
int main()
{
boost::function f(
bind( &post_command
, ( bind( &show_warning, message_dialog(), _1 ) )
//
>-Original Message-
>From: Aleksey Gurtovoy [mailto:[EMAIL PROTECTED]
>Sent: Friday, August 08, 2003 4:27 AM
>To: Boost mailing list
>Subject: [boost] bind/lambda - unsupported use case?
>Consider the following snippet:
>
>void show_warning( message_dia
Peter Dimov wrote:
> Aleksey Gurtovoy wrote:
> > Consider the following snippet:
> >
> > void show_warning( message_dialog const&, user_message );
> > void post_command( boost::function );
> >
> > int main()
> > {
> > boost::function f(
> > bind( &post_command
Aleksey Gurtovoy wrote:
> Consider the following snippet:
>
> void show_warning( message_dialog const&, user_message );
> void post_command( boost::function );
>
> int main()
> {
> boost::function f(
> bind( &post_command
> , ( bind( &show_w