Thanks David. Must be Monday, again. ;-)
Here the working code:
#include <string>
#include <algorithm>
#include <functional>
#include <vector>
#include
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
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users