.NET and new nullptr pointer value

  • Thread starter Thread starter Peter Bromley
  • Start date Start date
P

Peter Bromley

Hi,

I have a simple question.

With C++/CLI (and being added to C++ in general) there will be a new
keyword "nullptr" which is a "better" thing to use when zeroing pointer
types or testing them against zero.

Is there a particular .NET name we will be able (or encouraged) to use
instead of this new keyword or is nothing planned (just use nullptr)?

I am only wondering because there exists the System.IntPtr.Zero member
which one is supposed to use for unmanaged pointers and perhaps for
consistency a similar member is planned for managed references and pointers.

Apologies if this is documented somewhere readily accessible or is just
a dumb question.

--
If you wish to reply to me directly, my addres is spam proofed as:

pbromley at adi dot co dot nz

Or if you prefer - (e-mail address removed) :-)
 
Back
Top