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
[[nodiscard]]