Can't add element into container with emplace new if T has explicit constructor

前端 未结 0 814
清歌不尽
清歌不尽 2021-01-26 17:35

I am writing a fixed size container type, with placement new. When I was testing it I figured it out my "emplace_back()" like function does not compile if the type T h

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