syntax - C++: Unknown pointer size when forward declaring (error C2036) -
In the header file, I have further declared two members of a namespace:
Namespot Fu {struct odd typifif std :: vector & lt; Odp & gt; ODPVEC; }; Square bar {public: FU :: ODPWEC falcon; // C2036};
Error generated by compiler:
Error C2036: 'Foo :: Odp *': Unknown size
I feel that this is an issue whose announcement is forwarded to ODP
. How do I get it?
Announce ODP
The compiler does not know what type of Std :: vector & lt; Odp & gt;
, because ODP
has not been announced yet, give the compiler a complete announcement for that class.
Comments
Post a Comment