Lazy initilaize static std::array without template

后端 未结 0 417
灰色年华
灰色年华 2021-02-05 12:24

Can we init a static array without using template class?

Something look like:

struct Foo
{
public:
    static std::array arr;
    static v         


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