hfutzhu |
2020-05-17 14:15 |
qt5.11 constexpr问题
我的编译环境是qt5.11 minw32位 有一个函数 constexpr bool active() const noexcept { return m_flag; } 编译报error: enclosing class of constexpr non-static member function 'bool Form::active() const' is not a literal type constexpr bool active() const noexcept { return m_flag; } 这个是什么意思? |
|