Skip to content

Fix char & arguments being non-bindable#1128

Merged
jagerman merged 1 commit into
pybind:masterfrom
jagerman:char-lvalue-fix
Oct 12, 2017
Merged

Fix char & arguments being non-bindable#1128
jagerman merged 1 commit into
pybind:masterfrom
jagerman:char-lvalue-fix

Conversation

@jagerman

@jagerman jagerman commented Oct 6, 2017

Copy link
Copy Markdown
Member

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

jagerman commented Oct 6, 2017

Copy link
Copy Markdown
Member Author

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

@wjakob

wjakob commented Oct 9, 2017

Copy link
Copy Markdown
Member

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