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

前端 未结 0 2081
忘了有多久
忘了有多久 2021-02-15 03:04

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

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