boostorg / boostorg/python

support lambda/function object callbacks

未关闭
#34 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
C++-11
主要语言
C++
星标
537
派生
223
平均合并
11 小时 22 分钟
30 天内合并 PR
2

描述

See http://stackoverflow.com/questions/16845547/using-c11-lambda-as-accessor-function-in-boostpythons-add-property-get-sig for possible ideas and discussion

We need a painless - wrapper free way to specify regular old lambdas which support captures - the plain function's yielded with + almost satisfies this but does not support captues

This causes code to be far longer than necessary and from first hand experience, lambdas are much more macro friendly.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。