Why does an inline user-provided constructor odr-uses base class constructors?

前端 未结 0 502
忘了有多久
忘了有多久 2021-01-24 00:00

Consider the following illustrative example

#include 

template 
struct Base {
    static int const touch;
    Base() {
        (v         


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