Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template<typename... Args>
- void defConstructor() {
- using namespace std;
- std::function < std::shared_ptr<_classType> (Args...)> fun = [](Args... args) { return std::make_shared<_classType>(args...); };
- mFunConstructor->addOverload(fun);
- }
Advertisement
Add Comment
Please, Sign In to add comment