summaryrefslogtreecommitdiff
path: root/doc/html/BOOST_DLL_ALIAS.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/BOOST_DLL_ALIAS.html')
-rw-r--r--doc/html/BOOST_DLL_ALIAS.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/html/BOOST_DLL_ALIAS.html b/doc/html/BOOST_DLL_ALIAS.html
index 55ca7c17c9..70c3e3a18a 100644
--- a/doc/html/BOOST_DLL_ALIAS.html
+++ b/doc/html/BOOST_DLL_ALIAS.html
@@ -34,7 +34,7 @@
</span>BOOST_DLL_ALIAS(FunctionOrVar, AliasName)</pre></div>
<div class="refsect1">
-<a name="idp337425648"></a><h2>Description</h2>
+<a name="idp242243872"></a><h2>Description</h2>
<p>This macro is useful in cases of long mangled C++ names. For example some <code class="computeroutput">void boost::foo(std::sting)</code> function name will change to something like <code class="computeroutput">N5boostN3foosE</code> after mangling. Importing function by <code class="computeroutput">N5boostN3foosE</code> name does not looks user friendly, especially assuming the fact that different compilers have different mangling schemes. AliasName is the name that won't be mangled and can be used as a portable import name.</p>
<p>Can be used in any namespace, including global. FunctionOrVar must be fully qualified, so that address of it could be taken. Multiple different aliases for a single variable/function are allowed.</p>
<p>Make sure that AliasNames are unique per library/executable. Functions or variables in global namespace must not have names same as AliasNames.</p>