Re: [Boost-users] [bind] static array vs. pointer vector

26 Mar
2007
26 Mar
'07
8:11 p.m.
In 1st case, when you dereference vector<info*> iterator, you will get info* pointer. But in 2nd case, your iterator is info* pointer, so you get info object when you dereference it. This is also mentioned at beginning of error message - "cannot convert parameter 1 from 'info' to 'info *'". Therefore you should change your get_s() function to accept info (or info&), or your binding expression to convert info to info*. Daniel
6698
Age (days ago)
6698
Last active (days ago)
1 comments
2 participants
participants (2)
-
Christian Henning
-
Daniel