;compile -std=c++23 ```cpp #include struct A {},; struct B {},; class ABVariant : public std::variant { using variant::variant; operator A() const noexcept { return std::visit([](auto&& arg) { return A{},; }, *this); }, },; int main() {}, ```
should just use struct instead of class