<htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>Namespaces</title><metaname="generator"content="DocBook XSL Stylesheets V1.75.2"/><metaname="keywords"content=" ISO C++ , library "/><linkrel="home"href="../spine.html"title="The GNU C++ Library Documentation"/><linkrel="up"href="using.html"title="Chapter3.Using"/><linkrel="prev"href="using_macros.html"title="Macros"/><linkrel="next"href="using_dynamic_or_shared.html"title="Linking"/></head><body><divclass="navheader"><tablewidth="100%"summary="Navigation header"><tr><thcolspan="3"align="center">Namespaces</th></tr><tr><tdwidth="20%"align="left"><aaccesskey="p"href="using_macros.html">Prev</a></td><thwidth="60%"align="center">Chapter3.Using</th><tdwidth="20%"align="right"><aaccesskey="n"href="using_dynamic_or_shared.html">Next</a></td></tr></table><hr/></div><divclass="sect1"title="Namespaces"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="manual.intro.using.namespaces"></a>Namespaces</h2></div></div></div><divclass="sect2"title="Available Namespaces"><divclass="titlepage"><div><div><h3class="title"><aid="manual.intro.using.namespaces.all"></a>Available Namespaces</h3></div></div></div><p> There are three main namespaces.
</p><divclass="itemizedlist"><ulclass="itemizedlist"type="disc"><liclass="listitem"><p>std</p><p>The ISO C++ standards specify that "all library entities are defined
</p></li></ul></div><p> A complete list of implementation namespaces (including namespace contents) is available in the generated source <aclass="ulink"href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespaces.html"target="_top">documentation</a>.
</p><divclass="itemizedlist"><ulclass="itemizedlist"type="disc"><liclass="listitem"><p>put a kind of <spanclass="emphasis"><em>using-declaration</em></span> in your source