Is it possible to setup one enbeded struct as private member of a class?

 

Something like this...

 

class CDemo
     {
      private:
            struct STR{
                  double  m_array[]  ;
                  double  m_array1[] ;
                  double  m_array2[] ;
                  };
      public:
            CDemo(void){};
           ~CDemo(void){};
            CDemo(double &marray[],double &marray1[],double &marray2[]);
      protected:
            void CDemo::setArray(STR &, double &mArray[], double &mArray1[], double &mArray2[]);
     };
 

I think the compiler already gave you the answer.  

Reason: