|
Boost Users : |
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net