Warning C26477
Use '
nullptr
' rather than 0 or NULL (es.47)
Remarks
nullptr
has a special type nullptr_t
that allows overloads with special null handling. Using 0
or NULL
in place of nullptr
bypasses the type safety and deduction that nullptr
provides.
Code analysis name: USE_NULLPTR_NOT_CONSTANT
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for