Skip to content

embind: Cannot assign lambda to val #1914

Closed

Description

@abergmeier

When I have a val like xhr["onload"], I cannot assign a function, lambda or functor on it. Without this, coding callbacks seems to be not easily doable.

Activity

  1. abergmeier commented on Dec 12, 2013

    @abergmeier
    ContributorAuthor

    While, lambda and functor will probably be difficult, it should be possible to enable assigning a function. There needs to be a way to tell llvm & em to not unwrap the function. On the other hand, functions are not that interesting in C++.

  2. stale commented on Aug 31, 2019

    @stale

    This issue has been automatically marked as stale because there has been no activity in the past 2 years. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions