Skip to content

Instantly share code, notes, and snippets.

@ChrisCates
Created December 17, 2018 19:46
Show Gist options
  • Save ChrisCates/e2606d89a57adccd294d1957d8ef3a80 to your computer and use it in GitHub Desktop.
Save ChrisCates/e2606d89a57adccd294d1957d8ef3a80 to your computer and use it in GitHub Desktop.
std::vector<std::string> list = hiredisx::list("list", 0, -1, "L");
std::cout << "The first element of the list should be " << list[0] << std::endl;
// Should print, "The first element of the list should be item"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment