What does {0} mean when initializing an object?

后端 未结 10 781
-上瘾入骨i
-上瘾入骨i 2020-11-29 14:46

When {0} is used to initialize an object, what does it mean? I can\'t find any references to {0} anywhere, and because of the curly braces Google s

10条回答
  •  北荒
    北荒 (楼主)
    2020-11-29 15:25

    It's been awhile since I worked in c/c++ but IIRC, the same shortcut can be used for arrays as well.

提交回复
热议问题