From: David Abrahams (dave_at_[hidden])
Date: 2004-07-20 09:42:18


Vladimir Prus <ghost_at_[hidden]> writes:

> boost::dll plugin("foo");
> plugin["bar"].as<void (void)>();
>
> or something trickier, like:
>
> - calling C++ functions:
>
> plugin.call<void (void)>("bar") -- no need for "extern "C"
>
> - some auto-registraction mechanisms
>
> plugin_registry<CodeGenerator> plugins;
> plugins.load("foo");
> plugins.load("bar");
>
> plugins["i386"].run(.......)

Those are some really cool DSEL ideas! I love it!

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com