Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 637 Bytes

File metadata and controls

16 lines (14 loc) · 637 Bytes
description Learn more about: C26477 USE_NULLPTR_NOT_CONSTANT
title C26477
ms.date 12/14/2018
ms.topic conceptual
f1_keywords
C26477
helpviewer_keywords
C26477
ms.assetid d5395efc-5eb2-4e82-9b45-fcd5ff4577bf
author kylereedmsft
ms.author kylereed

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.

C++ Core Guideline for this warning