std::optional as template non-type parameter in C++?

后端 未结 0 1667
长情又很酷
长情又很酷 2021-01-03 01:12

I want to have non-type optional template parameters in my class/struct.

Of cause I can do:

template 
struct S {};


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