10 Mar
2006
10 Mar
'06
6 p.m.
Le Jeudi 9 Mars 2006 17:08, Douglas Gregor a écrit :
On Mar 9, 2006, at 8:08 AM, Camille Lemen wrote:
param.clear();
Your problem is here. You should not be calling "clear()" on param, because that will make it have zero elements. The next line of code, that tries to write to the 0th element of param, is actually incorrect. Remove the param.clear(); line and things should work as expected.
param[0] = 2; std::cerr<<"param[0] = "<
Doug _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Thanks!!