Hacker News new | ask | show | jobs
by mistrial9 423 days ago
ok, but C99 and C++11 and others, all have ways to implement types. "Fundemental" as you say.. using UNION in C++ is not a good choice to implement types.. in old C99, you can use UNION that way but why? footguns all around.
1 comments

std::variant does not exist in C99.