diff options
Diffstat (limited to 'doc/html/BOOST_DLL_ALIAS.html')
-rw-r--r-- | doc/html/BOOST_DLL_ALIAS.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/BOOST_DLL_ALIAS.html b/doc/html/BOOST_DLL_ALIAS.html index a0f292bad2..074336eccd 100644 --- a/doc/html/BOOST_DLL_ALIAS.html +++ b/doc/html/BOOST_DLL_ALIAS.html @@ -34,8 +34,8 @@ </span>BOOST_DLL_ALIAS(FunctionOrVar, AliasName)</pre></div> <div class="refsect1"> -<a name="id-1.3.14.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> +<a name="id-1.3.15.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::string)</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> <p>Same AliasName in different translation units must point to the same FunctionOrVar.</p> |