共用方式為


<cstdbool>

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

#include <cstdbool>

Remarks

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

See Also

Reference

C++ Standard Library Overview

Thread Safety in the C++ Standard Library

Other Resources

C++ Standard Library Header Files