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

Simplify base class detection for Eigen types #427

Merged
merged 1 commit into from
Sep 29, 2016

Conversation

dean0x7d
Copy link
Member

@dean0x7d dean0x7d commented Sep 29, 2016

This adds a is_template_base_of metafunction which is similar to std::is_base_of except that it checks for a template instead of a concrete base.

@wjakob
Copy link
Member

wjakob commented Sep 29, 2016

Very nice, I like it. 👍

@wjakob wjakob merged commit 5699986 into pybind:master Sep 29, 2016
@dean0x7d dean0x7d deleted the eigen-bases branch September 30, 2016 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants