What's the use of 'sizeof…' operator in c++11? (not sizeof operator)

浪尽此生 提交于 2020-01-13 13:06:15

问题


While reading Discovering modern C++ by Peter Gottschling I found out that there is a new operator in c++11 named sizeof... . What's the usage of it? I could find only one reference about it over internet in cppreference.

Edit: This is sizeof... operator not sizeof.

Added this as a question here, as it was very difficult to get info about this operator during search. And hoping users will get the answer easier with this.

来源:https://stackoverflow.com/questions/59693407/whats-the-use-of-sizeof-operator-in-c11-not-sizeof-operator

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!