views:

336

answers:

1

I wonder how can I enable the nullptr in the just released Visual Studio 2010. (C++ project, not managed).

This is one of the new features but it is not available by default and looking inside the documentation at http://msdn.microsoft.com/en-us/library/4ex65770(VS.100).aspx it seams that it is enabled by /clr but this is managed!

Is this a feature added only for .NET?

+1  A: 

I simply created a new C++ Win32 console project in VS2010RC and nullptr keyword was just available to use as they have shown in the examples.

Sumant
Yep enabled by default
Motti