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

Cause static assert or compile error on abstract class. #12

Open
mason-bially opened this issue Jul 18, 2017 · 0 comments
Open

Cause static assert or compile error on abstract class. #12

mason-bially opened this issue Jul 18, 2017 · 0 comments

Comments

@mason-bially
Copy link
Contributor

Right now classes that rely on PConstructor for their new method don't compile time error when their new method is not compiled because the class is abstract. Either force the new function to be compiled, or cause a static assert (and require users to either supply a PConstructor implementation or to ask defaults to not attempt to build PConstructor).

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