You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Learn more about the C26477 USE_NULLPTR_NOT_CONSTANT C++ Core Guidelines Checker warning. The nullptr value allows overloads with special null handling.
title
C26477 USE_NULLPTR_NOT_CONSTANT
ms.date
04/29/2022
ms.topic
reference
f1_keywords
C26477
helpviewer_keywords
C26477
ms.assetid
d5395efc-5eb2-4e82-9b45-fcd5ff4577bf
author
kylereedmsft
ms.author
kylereed
ms.custom
kr2b-contr-experiment
C26477 USE_NULLPTR_NOT_CONSTANT
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.