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

Param type fix #23

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Param type fix #23

wants to merge 6 commits into from

Conversation

bananu7
Copy link
Member

@bananu7 bananu7 commented Jul 20, 2013

Do not merge yet.

@bananu7
Copy link
Member Author

bananu7 commented Sep 21, 2013

I think it's good to merge; since I've added a lot more tests and they are all passing, I can't currently see how it might break anything.


#define MACRO(r, data, Elem) \
REQUIRE_NOTHROW(lua.register_function("foo", [](Elem){ return Elem {}; })); \
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this context, is {} any different than ()? Just wondering.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's more jazz and pop and C++11 and Web 2.0.

IOW, nope.

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