Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

symbol attributes assignee types #28

Open
lythesia opened this issue Jun 14, 2019 · 2 comments
Open

symbol attributes assignee types #28

lythesia opened this issue Jun 14, 2019 · 2 comments

Comments

@lythesia
Copy link

lythesia commented Jun 14, 2019

Can symbol's attributes value be lambda or std::bind objects? like:
_id(_some_handle=[]() { ... }
and can we access the sio(or symbol) within the lambda? like:
_id(_some_handle=[this]() { ... }

thanks!

@lythesia lythesia changed the title sio attributes assignee types symbol attributes assignee types Jun 14, 2019
@lythesia
Copy link
Author

It seems that functor can be used here

@snawaz
Copy link

snawaz commented Jun 14, 2019

You can find the answer to this question by trying it out. Write a simple code, compile and run.

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

No branches or pull requests

2 participants