26 Mar
2007
26 Mar
'07
5:01 p.m.
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
) 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