how to check std::array is declared but not explicitly initialized

后端 未结 0 1069
栀梦
栀梦 2020-12-09 04:48

std::array has a built-in function empty() to check if the array is empty. As shown in the example copied from here.

#include 
#include 

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