Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.01 KB

cstdbool.md

File metadata and controls

30 lines (21 loc) · 1.01 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: <cstdbool>
<cstdbool>
07/11/2019
<cstdbool>
cstdbool header
44ccb8b2-d808-4715-8097-58ba09ab33ed

<cstdbool>

Includes the C standard library header <stdbool.h> and adds the associated names to the std namespace.

Note

Because the <stdbool.h> header defines macros that are keywords in C++, including it has no effect. The <stdbool.h> header is deprecated in C++. The <cstdbool> header is deprecated in C++17 and removed in the draft C++20 standard.

Requirements

Header: <cstdbool>

Namespace: std

Remarks

Including this header ensures that the names declared using external linkage in the C standard library header are declared in the std namespace.

See also

Header files reference
C++ standard library overview
Thread safety in the C++ standard library