I'm trying to create an alias for std::dynamic_pointer_cast but can't write something that compiles.
std::dynamic_pointer_cast
This is the way I'm trying:
template <typename T1, typename T2> using dcast = std::dynamic_pointer_cast<T1, T2>;
What is wrong with it?
Aucun commentaire:
Enregistrer un commentaire