$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: David Klein (dave_chp_at_[hidden])
Date: 2007-03-26 13:01:06
Christian Henning wrote:
> Hi there, I have posted this question last Friday, already. But maybe
> my example was too confusing. Here is a more simple example.
> Basically, I don't see what the big difference is when using
> boost::bind with a pointer vector ( std::vector<info*> ) and a static
> array of info.
>
> string& get_s( info* p )
> {
> return p->s;
> }
>
>
Shouldn't this be:
string & get_s( info & ) {...}
because you have 'info' and not 'info *' in the array?
-- Regards, dave