C++17 std::variant not handling custom types correctly when combining with std::visit
👀 Views: 0
💬 Answers: 1
📅 Created: 2025-08-20
c++17 std-variant std-visit design-patterns
I'm encountering an issue with `std::variant` in C++17 when trying to use it with `std::visit`. I have defined a variant that includes a couple of custom types ...