How do I know when and where a static inline in-class-initialised member object is initialised?

后端 未结 0 631
轻奢々
轻奢々 2020-12-12 17:04

Before C++17 you needed to define and/or initialise a non-const class member object separately from the class definition, otherwise you got a linker error:

//         


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