Why is my struct destructed twice with `std::variant` and `std::monostate`?
Channel: Peter Schneider
Date: 15/03/2023

Why is my struct destructed twice with `std::variant` and `std::monostate`?
I hope you found a solution that worked for you :)
 The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA  |
Thanks to all those great people for their contributions!

 (stackoverflow.com/users/1673574/chiel)Chiel |
 (stackoverflow.com/users/18519921/wohlstad)wohlstad |
 (stackoverflow.com/users/1455234/grizzlybears)grizzlybears |
 A special thanks goes out to the (https://stackoverflow.com/questions/75741488/why-is-my-struct-destructed-twice-with-stdvariant-and-stdmonostate)Stackexchange community |
 
 I wish you all a wonderful day! Stay safe :)
 
  std-variant c++17 c++