Runtime Error in Private Data Section

I am trying to create a random number generator for a C++ class, and I'm getting a runtime error with the vector in the data section.
1
2
3
4
5
6
7
8
9
10
class Random
{
private:
    vector<double> vect = vector<double>(int(VECT_SIZE));
    void fillVect(double min, double max);
    void shuffle();
    
    int index;
    
public:


The breakpoint occurs when I try to initialize the vector. Any idea why I'm getting this error? Let me know if more code is necessary.
> Let me know if more code is necessary.
at least provide enough code to reproduce your problem.
Topic archived. No new replies allowed.