Instruct msvc to report the _true_ value in __cplusplus and force _full_ C++ conformance

* do this  in _some_ tests to improve test coverage and catch possible problems due to that
 * fix invalid export of `static constexpr` constant
 * fix msvc warnings about unreachable code in high warning levels
This commit is contained in:
Daniela Engert
2021-06-24 09:10:08 -07:00
committed by Victor Zverovich
parent 31a5f0d399
commit 5221242f6e
3 changed files with 17 additions and 8 deletions
+1 -1
View File
@@ -394,7 +394,7 @@ struct ostream_params {
FMT_END_DETAIL_NAMESPACE
static constexpr detail::buffer_size buffer_size;
constexpr detail::buffer_size buffer_size;
/** A fast output stream which is not thread-safe. */
class FMT_API ostream final : private detail::buffer<char> {