所以我加載模塊。我有一個描述每個模塊的特殊文件。我從該文件讀取變量。 所以such example: shared_library m("my_module_name");
// Call a function that returns an int and takes a float parameter.
int result = m.get<int, float>("function_na
所以前段時間我在玩Boost.Extension的例子。 They used std::map<std::string, factory<computer> > computers;
computers.swap(types.get());
但是,當我開始移植項目from bjam to premake to visual studio project 2008我發現我不能使用它們用