How can a recursive std::variant be made copyable?
I wrote a simple AST using a recursive std::variant
, as I thought it would be an elegant alternative to inheritance.
I wrote a simple AST using a recursive std::variant
, as I thought it would be an elegant alternative to inheritance.