Skip to content

Instantly share code, notes, and snippets.

@michaeljyeates
Created January 23, 2021 18:02
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 michaeljyeates/76c367e6320c64feca1128f3e96f7b8a to your computer and use it in GitHub Desktop.
Save michaeljyeates/76c367e6320c64feca1128f3e96f7b8a to your computer and use it in GitHub Desktop.
auto attrs = atomicdata::deserialize(template_itr.immutable_serialized_data, schema_itr.format);
for (auto attr: attrs){
if (attr.first == "ease"){
md.ease = std::get<uint8_t>(attr.second);
print("land ease ", md.ease);
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment