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 a50981510e..f8249b34a1 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="idp236711056"></a><h2>Description</h2>
+<a name="id-1.3.13.8.2.2.8.4"></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>