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

后端 未结 0 1819
夕颜
夕颜 2020-12-23 07:03

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

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