File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1-
21// Copyright 2025 Peter Dimov
32// Copyright 2025 Vinnie Falco
43//
87// http://www.boost.org/LICENSE_1_0.txt
98
109// GCC 12+ -Wmaybe-uninitialized false positive tests
11- // https://github.com/boostorg/variant2/issues/33
10+ // https://github.com/boostorg/variant2/issues/55
1211//
1312// GCC 12+'s improved dataflow analysis sees code paths for all alternatives
1413// in mp_with_index and warns that members may be uninitialized, even though
1716
1817#include < boost/system/result.hpp>
1918#include < boost/core/lightweight_test.hpp>
19+ #include < boost/config.hpp>
2020#include < exception>
2121#include < string>
2222
2323// Check for C++17 std::optional support
24- #if __cplusplus >= 201703L
24+ #if BOOST_CXX_VERSION >= 201703L
2525# include < optional>
2626# define BOOST_VARIANT2_TEST_HAS_OPTIONAL 1
2727#endif
You can’t perform that action at this time.
0 commit comments