0
Follow
0
View

A non-aggregate cannot be initialized with an initializer list

zssdelaogong 注册会员
2023-02-28 04:32
patvice 注册会员
2023-02-28 04:32
< div class = "md_content_show e397 data - v - 3967" = "" >

not

dingjun_888 注册会员
2023-02-28 04:32
< div class = "md_content_show e397 data - v - 3967" = "" >

I should how this change

cychl01 注册会员
2023-02-28 04:32

A non-aggregate type is a class or structure that does not conform to the aggregate type definition. It contains functions, virtual functions, static members, and so on. Objects of this type cannot be initialized directly with an initializer list.
You can use the constructor or assignment operator

QstringList m_termList(....)
daiyi0857 注册会员
2023-02-28 04:32
< div class = "md_content_show e397 data - v - 3967" = "" >

that is put in front of a const delete

About the Author

Question Info

Publish Time
2023-02-28 04:32
Update Time
2023-02-28 04:32