Is there a way to force C++17 to convert a nullptr return value safely so that the return type is deduced as a pointer of type T assuming that all branches return either T* or nullptr?
Aucun commentaire:
Enregistrer un commentaire