Why std::extent doesn't work on references to arrays as operator sizeof?

前端 未结 0 564
既然无缘
既然无缘 2021-01-17 04:47

If I want to get the size (number of elements) of an array I can use the sizeof(a) / sizeof(a[0]) but the new standard makes it possible to use Type Traits to d

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