c++ string constructor () vs {} initialization different results

前端 未结 0 1850
执笔经年
执笔经年 2021-01-24 05:05

I\'m new to C++ and I was under the impression that initializing objects with () and {} acted the same. It seemed to be true for a few objects I made myself, but the following c

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