$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [function] Question on semantics of boost::function
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-09-17 18:34:03
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