Skip to content

Instantly share code, notes, and snippets.

@StarJade-Park
Last active January 11, 2020 13:56
Show Gist options
  • Save StarJade-Park/75a268603e80826311f9a73507c5598e to your computer and use it in GitHub Desktop.
Save StarJade-Park/75a268603e80826311f9a73507c5598e to your computer and use it in GitHub Desktop.
#define _QUOTE(x) #x
#define QUOTE(x) _QUOTE(x)
#define _MUST_TODO(msg) static_assert(false, QUOTE(msg));
#define MUST_TODO(msg) static_assert(false, msg);
// example
MUST_TODO("JUST DO IT !!");
void Foo()
{
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment