DEV Community

Discussion on: Getting Cozy With C++

Collapse
 
pgradot profile image
Pierre Gradot • Edited

As of C++17, you should use std::variant instead of plain old unions :)