Skip to content

Instantly share code, notes, and snippets.

@radustoenescu
Last active August 29, 2015 13:59
Show Gist options
  • Save radustoenescu/10660760 to your computer and use it in GitHub Desktop.
Save radustoenescu/10660760 to your computer and use it in GitHub Desktop.
ctors return an object
anonymous objects
returning by const
uses of const:
1. immutability of param
2. immutability of returned object
3. immutability of 'this'
return consts from getters !
= as member only
add (int) for postfx ++ or --
Overloading Based on L-Value versus R-Value
freestore or heap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment