C++20: Non-capturing lambda in non-type template parameter

前端 未结 0 1864
青春惊慌失措
青春惊慌失措 2021-02-15 03:00

Does C++20 allow a non-capturing lambda decayed to a function pointer to be passed directly as a non-type template parameter? If so, what is the correct syntax?

I have t

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