help-gplusplus
[Top][All Lists]
Advanced

[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?



reply via email to

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