If you've already established that the type of the class is Two, you can just do a static cast.
list_two.Add(static_cast<Two>(class));
If you've already established that the type of the class is Two, you can just do a static cast.
list_two.Add(static_cast<Two>(class));
"The strength of a civilization is not measured by its ability to wage wars, but rather by its ability to prevent them." - Gene Roddenberry
Bookmarks