Re: [Quantity-devel] replace in vector with []
Brought to you by:
berndspeiser
|
From: Kai L. <kai...@un...> - 2004-07-05 21:34:09
|
> Kai, > I don't find any function corresponding to a replacing operator[] in > the STL. Do you have some reference? > Bernd well, there has to be one. std::vector<int> v; v.push_back(1); v.push_back(2); v.push_back(3); v[1] =3D 7; works fine. Kai --=20 http://echempp.sourceforge.net Kai Ludwig Institut f=FCr Organische Chemie Auf der Morgenstelle 18 72076 T=FCbingen Tel.: 07071/29-73049 Mail: kai...@un... |