Skip to content

Instantly share code, notes, and snippets.

@matt-42
Last active June 13, 2016 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matt-42/de47e4398e0343a45e6af980b637bb34 to your computer and use it in GitHub Desktop.
Save matt-42/de47e4398e0343a45e6af980b637bb34 to your computer and use it in GitHub Desktop.
c++ reflection with iod
foreach(o) | [] (const auto& m)
{
std::cout << m.symbol().name() << ":"
<< m.value() << std::end;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment