d2mcpp
d2mcpp copied to clipboard
练习: 08-literal-type-0 英文(en) 没有设置C++17 导致报错 - non-constexpr function 'operator[]' cannot be used in a constant expression
- 讨论贴: https://forum.d2learn.org/topic/145
- https://github.com/mcpp-community/d2mcpp/issues/35
non-constexpr function 'operator[]' cannot be used in a constant expression
en版本
https://github.com/mcpp-community/d2mcpp/blob/fc4931ab75047c40ec314ef582f124996b9faa07/dslings/en/cpp11/xmake.lua#L92-L95
zh版本
https://github.com/mcpp-community/d2mcpp/blob/fc4931ab75047c40ec314ef582f124996b9faa07/dslings/cpp11/xmake.lua#L92-L95