Closed OleksandrKvl closed 7 months ago
Clang incorrectly provides [[nodiscard]] in C++11 mode and then produces a warning (converted to error) that it's a C++17 feature. See workaround here: https://github.com/boostorg/json/blob/8670fd78af55d91b799a94457b28231f8b089b70/include/boost/json/detail/config.hpp#L33
[[nodiscard]]
Clang incorrectly provides
[[nodiscard]]
in C++11 mode and then produces a warning (converted to error) that it's a C++17 feature. See workaround here: https://github.com/boostorg/json/blob/8670fd78af55d91b799a94457b28231f8b089b70/include/boost/json/detail/config.hpp#L33