Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 510 Bytes

File metadata and controls

16 lines (14 loc) · 510 Bytes
description Learn more about: C26476 USE_VARIANT
title C26476
ms.date 12/14/2018
ms.topic conceptual
f1_keywords
C26476
helpviewer_keywords
C26476
ms.assetid bb2b3b26-9a84-4d81-8bae-ad9a5577c8a6
author kylereedmsft
ms.author kylereed

C26476 USE_VARIANT

std::variant provides a type-safe alternative to union and should be preferred in modern code.

C++ Core Guideline for this warning