How do I allocate stack memory to an R value class using multiple inheritance?

前端 未结 0 1613
谎友^
谎友^ 2021-01-01 04:02

for example:

Class aptr* : public BPTR : protected CPTR {
private:
int&& a = 42;
BPTR* anotherPTR = *a;

public:
aptr(int z, int x) : a(z), anotherPTR         


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