boost::dll::experimental::import_class
// In header: <boost/dll/import_class.hpp> template<typename T, typename ... Args> imported_class< T > import_class(const smart_library & lib, std::size_t size, Args... args);
This function does add the type alias to the boost::dll::experimental::smart_library.