Niall Douglas wrote:
APIBind enables you to bind a copy of function<> into your library's namespace e.g.
namespace boost { namespace foo { template
using function = std::function ; } }
...
Indeed, APIBind is there to ensure that your library X built against boost::function doesn't collide with your library X build against std::function in the same translation unit.
Does this actually work? Because I've trouble visualizing it based on this
description.
OK, X built against boost::function has
namespace boost { namespace foo {
template