cppannotations/annotations/yo/namespaces/declaring.yo
Frank B. Brokken 777b182edd Moved all files but 'excluded', 'sf', and 'sourcetar' to ./annotations
This allowed me to standardize the sourcetar and sf/* scripts: the base
    directory (containing ./git) is now empty, except for maintenance scripts,
    while the source files and build scripts of the annotations are stored in
    a subdirectory of their own.
2013-05-29 20:44:08 +02:00

12 lines
458 B
Text

Instead of em(defining) entities in a namespace, entities may also be
em(declared) in a namespace. This allows us to put all the
hi(namespace declarations) declarations in a header file that can
thereupon be included in sources using the entities defined in the
namespace. Such a header file could contain, e.g.,
verb(
namespace CppAnnotations
{
double cos(double degrees);
double sin(double degrees);
}
)