What's the difference between static constexpr and static inline variables in C++17?

后端 未结 0 1783
野性不改
野性不改 2020-12-23 06:38

With C++17 we get inline variables.

One of the uses for them is to define constant fields in classes.

So what\'s the difference between these two constant de

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