Skip to content

Instantly share code, notes, and snippets.

@rileylev
Last active January 9, 2019 17:23
Show Gist options
  • Select an option

  • Save rileylev/1eecc633563e3c083be5fcab7f490b99 to your computer and use it in GitHub Desktop.

Select an option

Save rileylev/1eecc633563e3c083be5fcab7f490b99 to your computer and use it in GitHub Desktop.
with macros
#define WM_GENSYM(name) GENSYM_##name##__COUNTER__
#define WM_WITH(initializer,body) {auto WM_GENSYM() = initializer; body}
@is2land7

is2land7 commented Jan 9, 2019

Copy link
Copy Markdown

hello

@rileylev

rileylev commented Jan 9, 2019

Copy link
Copy Markdown
Author

hi! do you have any questions about this gist?

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