We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I think there is a problem with the implementation of constructor_as_function.
constructor_as_function
return T{args...};
IIRC, make_unique uses parenthesis instead of curly braces, I believe we should do the same.
make_unique
Here is the current behavior:
struct Test { Test(int, int){} // 1 Test(std::initializer_list<int>){} // 2 }; fplus::constructor_as_function<Test>(4, 2); // will call constructor 2
The text was updated successfully, but these errors were encountered:
0710bfb
Good catch!
Sorry, something went wrong.
No branches or pull requests
Hi, I think there is a problem with the implementation of
constructor_as_function
.return T{args...};
IIRC,
make_unique
uses parenthesis instead of curly braces, I believe we should do the same.Here is the current behavior:
The text was updated successfully, but these errors were encountered: