Problem initializing a vector of vectors 
Author Message
 Problem initializing a vector of vectors

It might be a compiler limitation, because the code you posted compiles
without complaint with VC 6.


Quote:
>The attached code produces the error:

>Test.cpp(6) : error C2614: 'vector<float,class std::allocator<float>>' :
>illegal member initialization: '<Unknown>' is not a base or member

>...under VC 5/SP3. Is there a workaround for this?

>Braden



Sat, 05 May 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. VECTOR within a VECTOR

2. vector question when replacing array[10][20] with vectors

3. proper way of refering to pointer of vector to vector

4. Vector of vectors - compiler doesn't understand?

5. How to iterate through a vector of vectors?

6. Vectors Within Vectors

7. vector::pop_back and vector::erase leaking memory?

8. Initialize vector from istream

9. Initializing Vector

10. How to initialize an array of VECTOR

11. Beginner-how to initialize a vector

12. Problem freeing vectors

 

 
Powered by phpBB® Forum Software