.NET and new nullptr pointer value

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) :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top