Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support non-default object ctors #6

Open
bengreenier opened this issue Oct 6, 2017 · 1 comment
Open

support non-default object ctors #6

bengreenier opened this issue Oct 6, 2017 · 1 comment

Comments

@bengreenier
Copy link
Owner

bengreenier commented Oct 6, 2017

Per https://github.com/bengreenier/CppFactory/blob/master/CppFactory/CppFactory.hpp#L143

We should be able to use non-default object constructors when constructing with Object<TObject>::Get() - likely with an std::forward-ed argument list.

@bengreenier
Copy link
Owner Author

Factory solves this technically, but we should support it in the Object<>::Get() method as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant