[[nodiscard]] for constant getter functions

前端 未结 0 1808
粉色の甜心
粉色の甜心 2021-01-20 14:57

Is there a good reason why Clang-Tidy complains about missing [[nodiscard]] for a constant member function without parameters? Could the compiler not work that

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