Skip to content

Fix char & arguments being non-bindable #1128

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

Merged
merged 1 commit into from
Oct 12, 2017

Conversation

jagerman
Copy link
Member

@jagerman jagerman commented Oct 6, 2017

This changes the caster to return a reference to a (new) local CharT
type caster member so that binding lvalue-reference char arguments
works (currently it results in a compilation failure).

Fixes #1116

This changes the caster to return a reference to a (new) local `CharT`
type caster member so that binding lvalue-reference char arguments
works (currently it results in a compilation failure).

Fixes pybind#1116
@jagerman jagerman added this to the v2.2.2 milestone Oct 6, 2017
@jagerman
Copy link
Member Author

jagerman commented Oct 6, 2017

NB: this was a regression introduced with the string casting overhaul in 2.1.

@wjakob
Copy link
Member

wjakob commented Oct 9, 2017

LGTM.

@jagerman jagerman merged commit 1b08df5 into pybind:master Oct 12, 2017
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.

2 participants