boostorg / boostorg/python

support lambda/function object callbacks

Aperta
#34 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
C++-11
Lingua principale
C++
Stelle
537
Fork
223
Merge medio
11h 22m
PR unite (30g)
2

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.