Répartition des objets gérés en C ++ géré
-
22-08-2019 - |
Question
Est-il nécessaire de vérifier nullptr après attribution d'un objet en utilisant gcnew?
La solution
Non, vous obtiendrez un OutOfMemoryException l'objet ne peut pas être affecté par le GC.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow