mirror of
https://github.com/boostorg/variant2.git
synced 2025-07-29 19:57:18 +02:00
@ -689,8 +689,11 @@ template<class T1, class... T> union variant_storage_impl<mp11::mp_true, T1, T..
|
||||
# pragma GCC diagnostic push
|
||||
// False positive in at least GCC 7 and GCC 10 ASAN triggered by monostate (via result<void>)
|
||||
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
#if __GNUC__ >= 12
|
||||
// False positive in at least GCC 12 and GCC 13 ASAN and -Og triggered by monostate (via result<void>)
|
||||
# pragma GCC diagnostic ignored "-Wuninitialized"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
*this = variant_storage_impl( mp11::mp_size_t<I>(), std::forward<A>(a)... );
|
||||
|
||||
#if defined(BOOST_GCC) && (__GNUC__ >= 7)
|
||||
|
Reference in New Issue
Block a user