c++ aggregate initializer g++ bug?

前端 未结 0 1966
误落风尘
误落风尘 2021-02-02 04:38

I have a problem compiling this simple aggregate named initialization with g++

struct A  {
    int a;
};
struct B {
    int b;
};
struct C {
    A a;
    B b;
};
         


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