Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
namespace — Declares a namespace
BoostBook namespaces are declared via the <namespace> element. As in C++, namespaces can be nested and contain other C++ constructs, such as classes or functions. The name attribute of a <namespace> element gives the namespace name (e.g., "boost"). The Any library is defined entirely within namespace boost by:
<library-reference>
<header name="boost/any.hpp">
<namespace name="boost">
<!-- C++ constructs in the boost namespace -->
</namespace>
</header>
</library-reference>
| Name | Type | Value | Purpose |
|---|---|---|---|
| last-revision | #IMPLIED | CDATA | Set to $Date: 2004/07/05 16:26:11 $ to keep "last revised" information in sync with CVS changes |
| name | #REQUIRED | CDATA | The name of the element being declared to referenced |
| id | #IMPLIED | CDATA | A global identifier for this element |
| xml:base | #IMPLIED | CDATA | Implementation detail used by XIncludes |
| Copyright © 2003 Douglas Gregor |