Skip to content

Instantly share code, notes, and snippets.

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