lundi 17 décembre 2018

Casting structure in C++

After reading this SO question and while I am facing now a very similar problem, was wondering if C++ has safe, robust, and defined way of casting structure to another structure assuming both have exactly the same fields? or do I have to copy it field by field?

Aucun commentaire:

Enregistrer un commentaire