summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2006-03-18 04:48:13 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2006-03-18 04:48:13 +0000
commitd0ebd515d6a17fac6d8c06be7c073e26354f326a (patch)
treed5c3471f5480809a42d6f571f6cec197314da294 /docs
parent53069b82e8cf0b4dd25a37e7bf224208ea646bcd (diff)
downloadATCD-d0ebd515d6a17fac6d8c06be7c073e26354f326a.tar.gz
Untabified.
Diffstat (limited to 'docs')
-rw-r--r--docs/Symbol_Versioning.html98
1 files changed, 49 insertions, 49 deletions
diff --git a/docs/Symbol_Versioning.html b/docs/Symbol_Versioning.html
index 098414068b1..6d4dcdddd51 100644
--- a/docs/Symbol_Versioning.html
+++ b/docs/Symbol_Versioning.html
@@ -16,21 +16,21 @@
enabled (disabled by default), ACE's versioned namespace support
causes all ACE symbols (classes, free functions, etc) to be
placed within a C++ namespace of the form "<code>namespace
- ACE_5_5_1</code>". For example, the <code>ACE_Reactor</code>
+ ACE_5_5_1</code>". For example, the <code>ACE_Reactor</code>
would end up being placed in the versioned namespace like so:
</p>
<blockquote>
<code>
<pre>
- namespace ACE_5_5_1
- {
+ namespace ACE_5_5_1
+ {
class ACE_Reactor
{
...
};
}
- using namespace ACE_5_5_1;
+ using namespace ACE_5_5_1;
</pre>
</code>
</blockquote>
@@ -43,31 +43,31 @@
</p>
<ul>
<li>
- <code>ACE_BEGIN_VERSIONED_NAMESPACE_DECL</code><br>
- <ul>
- <li>
- Expands to "<code>namespace ACE_VERSIONED_NAMESPACE NAME
- {</code>", where
- <code>ACE_VERSIONED_NAMESPACE_NAME</code> by defaults to
- namespace name of the form
- <code>ACE_<em>major</em>_<em>minor</em>_<em>beta</em></code>.
- Users may override the default by defining the
- <code>ACE_VERSIONED_NAMESPACE_NAME</code> preprocessor
- symbol in their <code><strong>ace/config.h</strong></code>
- header file.
- </li>
- </ul>
+ <code>ACE_BEGIN_VERSIONED_NAMESPACE_DECL</code><br>
+ <ul>
+ <li>
+ Expands to "<code>namespace ACE_VERSIONED_NAMESPACE NAME
+ {</code>", where
+ <code>ACE_VERSIONED_NAMESPACE_NAME</code> by defaults to
+ namespace name of the form
+ <code>ACE_<em>major</em>_<em>minor</em>_<em>beta</em></code>.
+ Users may override the default by defining the
+ <code>ACE_VERSIONED_NAMESPACE_NAME</code> preprocessor
+ symbol in their <code><strong>ace/config.h</strong></code>
+ header file.
+ </li>
+ </ul>
</li>
<li>
- <code>ACE_END_VERSIONED_NAMESPACE_DECL</code>
- <ul>
- <li>
- Expands to "<code>} using namespace
- ACE_VERSIONED_NAMESPACE_NAME;</code>", where
- <code>ACE_VERSIONED_NAMESPACE_NAME</code> is described
- above.
- </li>
- </ul>
+ <code>ACE_END_VERSIONED_NAMESPACE_DECL</code>
+ <ul>
+ <li>
+ Expands to "<code>} using namespace
+ ACE_VERSIONED_NAMESPACE_NAME;</code>", where
+ <code>ACE_VERSIONED_NAMESPACE_NAME</code> is described
+ above.
+ </li>
+ </ul>
</li>
</ul>
<h2>Things ACE-based Application Developers Should Know</h2>
@@ -96,7 +96,7 @@
<blockquote>
<code>
<pre>
- ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+ ACE_BEGIN_VERSIONED_NAMESPACE_DECL
class ACE_Reactor;
ACE_END_VERSIONED_NAMESPACE_DECL
</pre>
@@ -112,7 +112,7 @@
<code>
<pre>
namespace Foo = ACE_VERSIONED_NAMESPACE_NAME;</code>
- namespace Foo {
+ namespace Foo {
class ACE_Reactor;
}
using namespace Foo;
@@ -186,33 +186,33 @@
<h3>General Guidelines</h3>
<ul>
<li>
- Versioned namespace macro/support must be added to all new files
- added to ACE.
+ Versioned namespace macro/support must be added to all new files
+ added to ACE.
</li>
<li>
- Do not place include directives between
- <code>ACE_BEGIN_VERSIONED_NAMESPACE_DECL</code> and
- <code>ACE_END_VERSIONED_NAMESPACE_DECL</code> macros. Doing
- so will cause nested namespace to be created, which is not
- the desired affect.
+ Do not place include directives between
+ <code>ACE_BEGIN_VERSIONED_NAMESPACE_DECL</code> and
+ <code>ACE_END_VERSIONED_NAMESPACE_DECL</code> macros. Doing
+ so will cause nested namespace to be created, which is not
+ the desired affect.
</li>
<li>Be aware of preprocessor conditional blocks when placing the
- versioned namespace macros. For example, if you open
- versioned namespace within a given preprocessor condition
- block, you'll most likely want to close it in the same
- block.
+ versioned namespace macros. For example, if you open
+ versioned namespace within a given preprocessor condition
+ block, you'll most likely want to close it in the same
+ block.
</li>
<li>
- If necessary, reopen and close the versioned namespace
- multiple times in the same file by using the macros multiple
- times to address the concerns described in the above two
- items.
+ If necessary, reopen and close the versioned namespace
+ multiple times in the same file by using the macros multiple
+ times to address the concerns described in the above two
+ items.
</li>
<li>
- The <code>$ACE_ROOT/bin/fuzz.pl</code> script has a sanity
- checking test for versioned namespaces that may be of use when
- debugging nested namespace issues, and for detecting
- <code>BEGIN</code>/<code>END</code> mismatches.
+ The <code>$ACE_ROOT/bin/fuzz.pl</code> script has a sanity
+ checking test for versioned namespaces that may be of use when
+ debugging nested namespace issues, and for detecting
+ <code>BEGIN</code>/<code>END</code> mismatches.
</li>
</ul>
<p>
@@ -224,7 +224,7 @@
<address><a href="mailto:ossama@dre.vanderbilt.edu">Ossama Othman</a></address>
<!-- Created: Fri Mar 17 08:35:50 PST 2006 -->
<!-- hhmts start -->
-Last modified: Fri Mar 17 20:45:48 PST 2006
+Last modified: Fri Mar 17 20:47:41 PST 2006
<!-- hhmts end -->
</body>
</html>