Skip to content

add support of lambdas to get_signature#36

Open
nevion wants to merge 2 commits intoboostorg:developfrom
nevion:lambda
Open

add support of lambdas to get_signature#36
nevion wants to merge 2 commits intoboostorg:developfrom
nevion:lambda

Conversation

@nevion
Copy link
Copy Markdown
Contributor

@nevion nevion commented Aug 16, 2015

see #34
This does not entirely add support for lambda's, but does make it work for get_signature

Presently there is this error (in detail::invoke) when passing a lambda :
https://gist.github.com/nevion/bb90bb9a9b0f7071dbf2

I'm not sure how to proceed with this and will wait for some insights.

It also depends on a type trait that is better off in the type_traits or function_types libraries, and while it looks good it is hard to know if it works in every situation though should always suffice for lambdas - so there may be some justification for keeping it local, at least in the near term.

Also: in ripping out all the macros for pre c++11 support, I probably broke something for older C++03 or lower. But given how hard they are to understand and the pain of not using C++11 with boost.... I'm not sure I really would want to go down the road of trying to support those compilers. On the other hand, I ended up, to my knowledge, not using any C++11 with a potential exception of forwarding with boost::forward. All the sub-libraries used already deal with the gory details. I also did it in such a way that it was drop in switchable, maybe unnecessarily.

stefanseefeld pushed a commit to stefanseefeld/boost.python that referenced this pull request Oct 4, 2016
SCons change to build a static lib for Windows
stefanseefeld pushed a commit to stefanseefeld/boost.python that referenced this pull request Oct 8, 2016
SCons change to build a static lib for Windows
@stefanseefeld stefanseefeld force-pushed the develop branch 2 times, most recently from 8ccdcff to 3ace4a0 Compare October 8, 2016 17:34
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.

1 participant