From 4fadd968fa12130524c8380f33fcfe25d4de79e5 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Wed, 13 Sep 2017 11:24:46 +0900 Subject: Imported Upstream version 1.65.0 Change-Id: Icf8400b375482cb11bcf77440a6934ba360d6ba4 Signed-off-by: DongHun Kwak --- doc/html/BOOST_DLL_ALIAS.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/BOOST_DLL_ALIAS.html') 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 @@ BOOST_DLL_ALIAS(FunctionOrVar, AliasName)
-

Description

+

Description

This macro is useful in cases of long mangled C++ names. For example some void boost::foo(std::sting) function name will change to something like N5boostN3foosE after mangling. Importing function by N5boostN3foosE 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.

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.

Make sure that AliasNames are unique per library/executable. Functions or variables in global namespace must not have names same as AliasNames.

-- cgit v1.2.3