Skip to content

Instantly share code, notes, and snippets.

@ChrisCates
Created December 17, 2018 19:28
Show Gist options
  • Save ChrisCates/834f7866f173b738c470484715b825d7 to your computer and use it in GitHub Desktop.
Save ChrisCates/834f7866f173b738c470484715b825d7 to your computer and use it in GitHub Desktop.
if (hiredisx::set("foo", "bar") {
std::cout << "key foo has been set." << std::endl;
} else {
std::cout << "key foo had a problem being set." << std::endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment