summaryrefslogtreecommitdiff
path: root/doc/html/BOOST_DLL_ALIAS.html
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-09-13 11:24:46 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-09-13 11:25:39 +0900
commit4fadd968fa12130524c8380f33fcfe25d4de79e5 (patch)
treefd26a490cd15388d42fc6652b3c5c13012e7f93e /doc/html/BOOST_DLL_ALIAS.html
parentb5c87084afaef42b2d058f68091be31988a6a874 (diff)
downloadboost-upstream/1.65.0.tar.gz
boost-upstream/1.65.0.tar.bz2
boost-upstream/1.65.0.zip
Imported Upstream version 1.65.0upstream/1.65.0
Change-Id: Icf8400b375482cb11bcf77440a6934ba360d6ba4 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
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 70c3e3a18a..9aeaa50b81 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="idp242243872"></a><h2>Description</h2>
+<a name="idp217883200"></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>