Question

Est-il nécessaire de vérifier nullptr après attribution d'un objet en utilisant gcnew?

Était-ce utile?

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
scroll top