[Bind] How to bind?

3 Jan
2009
3 Jan
'09
2:09 p.m.
Hello One simple question: For struct A {}; void processA(A& a) {} A *pa = new A(); How to write a bind expression <BIND> that make <BIND>(pa); equivalent to processA(*pa); I've tried with this: boost::bind(&processA, *_1) but failed. I've also tried with this: processA(*boost::lambda::_1) also failed. Thanks for any information. B/Rgds Max ------------------------------------------------------------------- 新浪空间——与朋友开心分享网络新生活!(http://space.sina.com.cn/ )
5894
Age (days ago)
5894
Last active (days ago)
0 comments
1 participants
participants (1)
-
Max