
Hello, I have one old software which is using v_array, but I don't see v_array in the latest Boost distribution ? Is this class defunct now and should I replace it by vector or something else ? csv

Chaman Singh Verma wrote:
I have one old software which is using v_array, but I don't see v_array in the latest Boost distribution ? Is this class defunct now and should I replace it by vector or something else ?
A google code search was appropriate, because I couldn't find any v_arry in all by boost libs since 1.29: http://lists.boost.org/Archives/boost/att-111926/v_array.hpp You seem to adapt *very* old code... Without seeing your code I suggest to replace it's usage by std::vector. - Daniel Krügler

On Wed, Nov 19, 2008 at 1:08 PM, Daniel Krügler
Chaman Singh Verma wrote:
I have one old software which is using v_array, but I don't see v_array in the latest Boost distribution ? Is this class defunct now and should I replace it by vector or something else ?
A google code search was appropriate, because I couldn't find any v_arry in all by boost libs since 1.29:
http://lists.boost.org/Archives/boost/att-111926/v_array.hpp
You seem to adapt *very* old code...
Without seeing your code I suggest to replace it's usage by std::vector.
- Daniel Krügler
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Hello, Latest released codes from MIT and Duke Univ. are that way. What can I do ? They are the greatest center for learning. csv

Chaman Singh Verma wrote:
On Wed, Nov 19, 2008 at 1:08 PM, Daniel Krügler
mailto:dsp@bdal.de> wrote: Chaman Singh Verma wrote:
I have one old software which is using v_array, but I don't see v_array in the latest Boost distribution ? Is this class defunct now and should I replace it by vector or something else ?
A google code search was appropriate, because I couldn't find any v_arry in all by boost libs since 1.29:
http://lists.boost.org/Archives/boost/att-111926/v_array.hpp
You seem to adapt *very* old code...
Without seeing your code I suggest to replace it's usage by std::vector.
- Daniel Krügler
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org mailto:Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Hello, Latest released codes from MIT and Duke Univ. are that way. What can I do ?
I thought I gave you an answer in my previous posting?! 1) My primary suggestion is to replace all occurrences of v_array by std::vector (see above). 2) If (1) fails, e.g. because you have no editing rights to the corresponding sources, you should consider to create your own v_array.hpp file based on the code given in the link provided above. But let me warn you: If your most recent boost version was 1.26 and if you are going to switch to 1.37, you might get into different trouble than just due to the missing v_array type: Class interfaces might have slightly changed or your compiler is no longer supported... Good luck, Daniel Krügler
participants (2)
-
Chaman Singh Verma
-
Daniel Krügler