help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: instantiating boost::bind(...) in one place and reusing it throughou


From: Pedro Lamarão
Subject: Re: instantiating boost::bind(...) in one place and reusing it throughout the code
Date: Mon, 01 Oct 2007 16:24:11 -0000
User-agent: G2/1.0

On Sep 29, 8:37 pm, er <erwann.rog...@gmail.com> wrote:
> hi,
>
> for example, i use
>
>  boost::bind(
>   &A::f,
>   _1
>  )
>
> in different parts of my code. i'm thinking of using something like
>
> some_type* fo = new boost::bind(&A::f,_1);
>
> and use *fo in place of boost::bind(...). is this ok? what should
> some_type be?

This is a question most suited for the Boost Users mailing list.

Check the Boost website.

  http://www.boost.org/

--
 Pedro Lamarão



reply via email to

[Prev in Thread] Current Thread [Next in Thread]