Edit

Share via


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

C++ Core Guideline ES.47