Subject: Re: [boost] [Boost.DLL] Formal Review request
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2014-11-20 09:29:02
2014-11-20 17:09 GMT+04:00 Klaim - JoÃ«l Lamotte <mjklaim_at_[hidden]>:
> On Fri, Oct 3, 2014 at 3:24 PM, Klaim - JoÃ«l Lamotte <mjklaim_at_[hidden]>
> > Instead of :
> > BOOST_DLL_ALIAS(
> > my_namespace::cpp_function_name, cpp_function_alias_name
> > )
> > Something like:
> > BOOST_DLL_AUTO_ALIAS( my_namespace::cpp_function_name )
> did you have the time to consider this suggestion? Is this doable?
> I don't see it in the develop branch so if you found an issue with this I
> would like to learn from it.
The idea is great, but I do not know how to implement it.
The following macro:
is expanded into the following:
extern "C" void* cpp_function_alias_name = &my_namespace::cpp_function_name;
It means that BOOST_DLL_AUTO_ALIAS(my_namespace::cpp_function_name) must be
able somehow to cut off the namespaces leaving only the variable/function
-- Best regards, Antony Polukhin