
17 Sep
2010
17 Sep
'10
10:34 p.m.
AMDG David Sankel wrote:
Is a boost::function<void (int)> semantically different from a boost::function<void (int &)>
Yes. The signature of a boost::function behaves exactly the same way as the signature of a normal function.
or a boost::function<void (const int)>?
No. boost::function<void(int)> is the same type as boost::function<void(const int)>. In Christ, Steven Watanabe