Y
Hacker News
new
|
ask
|
show
|
jobs
by
maattdd
688 days ago
Any reader who comment here hopefully has enough knowledge to understand the implied C++.
struct Add {} std::variant<Add, int> Expr;
OR
class Expr {} class Add : Expr {}
1 comments
searealist
688 days ago
I dont think you have ever seriously used c++.
link