Home > Backend Development > C++ > Which C Standard Library Headers Guarantee the Inclusion of Others or Access to Functions?

Which C Standard Library Headers Guarantee the Inclusion of Others or Access to Functions?

Barbara Streisand
Release: 2024-10-28 07:24:02
Original
1054 people have browsed it

Which C   Standard Library Headers Guarantee the Inclusion of Others or Access to Functions?

Guaranteed Header Inclusions in the C Standard Library

The C standard library employs an unspecified mechanism for including headers, making it risky to assume that one header includes another. However, there are certain cases where one header is guaranteed to include another or provide access to functions that would otherwise require the inclusion of a different header.

Guaranteed Header Inclusions

  • : Included by:

  • : Includes:

  • : Includes:

  • : Includes:

  • Free Function Templates in : Available when including:

  • Functions in : Available when including:

      • begin, end, std::swap(T&, T&), std::swap(T (&a)[N], T (&b)[N])

The above is the detailed content of Which C Standard Library Headers Guarantee the Inclusion of Others or Access to Functions?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template