Skip to content

Instantly share code, notes, and snippets.

@ChrisCates
Created December 17, 2018 19:44
Show Gist options
  • Save ChrisCates/70139f96ecd11b4e3fca5e703acb22a3 to your computer and use it in GitHub Desktop.
Save ChrisCates/70139f96ecd11b4e3fca5e703acb22a3 to your computer and use it in GitHub Desktop.
if (hiredisx::push("list", "item", "R") {
std::cout << "item has been pushed to thelist." << std::endl;
} else {
std::cout << "item had a problem being pushed to the list." << std::endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment