Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
decltype(auto) a4 = generate_ascii_random_string(8); //const std::string
decltype(auto) a5 = generate_ascii_random_string(8); //const std::string
//a4 = a5; //compilation will fail, because a4 is read-only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment