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 cast_op return type #532

Merged
merged 1 commit into from
Nov 25, 2016
Merged

Conversation

jagerman
Copy link
Member

Using a complicated declval here was pointlessly complicated: we already know the type, because that's what cast_op_type is in the first place. (The declval also broke MSVC).

Using a complicated declval here was pointlessly complicated: we
already know the type, because that's what cast_op_type<T> is in the
first place.  (The declval also broke MSVC).
@wjakob wjakob merged commit 14bfe62 into pybind:master Nov 25, 2016
@rwgk rwgk mentioned this pull request Feb 9, 2023
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