[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
instantiating boost::bind(...) in one place and reusing it throughout th
From: |
er |
Subject: |
instantiating boost::bind(...) in one place and reusing it throughout the code |
Date: |
Sat, 29 Sep 2007 23:37:32 -0000 |
User-agent: |
G2/1.0 |
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?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- instantiating boost::bind(...) in one place and reusing it throughout the code,
er <=