CodexBloom - AI-Powered Q&A Platform

C++17 std::variant not producing expected output with user-defined types

👀 Views: 1 💬 Answers: 1 📅 Created: 2025-06-01
c++17 std-variant custom-types

I'm encountering an issue using `std::variant` with my custom types in C++17. I have defined a variant type that includes a couple of structs, but when I try to...