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

Added macros MAP_UD, MAP_LIST_UD, MAP_UD_I, MAP_LIST_UD_I. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Erlkoenig90
Copy link

@Erlkoenig90 Erlkoenig90 commented Mar 17, 2018

These macros allow the user to pass a single value to all invocations of the user macro (as proposed in the this StackOverflow comment and the *_I variants additionally pass the index of the invocation as an integer literal (thereby solving issue #5). This requires a list of predefined increment operations. Updated the documentation accordingly. I also took the liberty to add a link to my own serialization library which uses the map macro as well.

These macros allow the user to pass a single value to all invocations of the user macro,
and the *_I variants additionally pass the index of the invocation as an integer literal.
This requires a list of predefined increment operations. Updated the documentation
accordingly, and added an overview and a link to the µSer library to README.md.
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