C++ Inherited Stack-Allocated Array

后端 未结 0 1121
情深已故
情深已故 2020-12-10 18:36

I have 2 classes, A and B (B is a subclass of A)

Q: Is it possible to have a stack-allocated array in A that I can initialise in B?

I\'ve currently got it work

相关标签:
回答
  • 消灭零回复
提交回复
热议问题