Skip to content

Instantly share code, notes, and snippets.

@jniemann66
Last active October 8, 2019 01:55
Show Gist options
  • Save jniemann66/33d634145069852f8e5f75fd6ad28d71 to your computer and use it in GitHub Desktop.
Save jniemann66/33d634145069852f8e5f75fd6ad28d71 to your computer and use it in GitHub Desktop.
C++: taking a const reference to a return value (OK) [non-const reference to return value = NOT OK]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment