Q:

What's on your C++ cheatsheet?

Every so often, I'll have to switch between languages for the majority of the code I write (whether for work or for play).  I find that C++ is one of those languages that requires a lot of mental cache space, so if I take a long break from it, then I forget a lot of the details. Even things like adding items to an STL container or using the static storage keyword in various contexts get all jumbled up ("is it add, append, push...oh, it's push_back").
So what essential tidbits do you like to have loaded into your brain when you're writing C++?
Edit: I should say, I'd like to be able to bookmark this page and use it as my cheatsheet :)

A:

When I switch back from Java to C++, I like to review items from C++ Coding Standards by Herb Sutter and Andrei Alexandrescu.
Scott Meyers' Effective C++ series are great for this too.
Here are quick basic stuffs that work for me:

Use std::swap()
"When in doubt, do as the ints do." (Scott Meyers)
const * means constant data, * const means constant pointer (read the decl. backwards!).
Declare an assignment operator and a copy constructor in classes with dynamically assigned data. 
C++ will write an assignment operator & copy constructor for you if you don't declare one yourself. Except if you declare them (private, most likely) and omit to define them. 
Have operator=() return a reference to *this 
Call Base(rhs) in Derived's copy constructor's init list.
Call Base::operator=(rhs); in Derived's operator=() 
Check for assignment to self in operator=()
Don't implement operator=() by calling the copy constructor (Herb Sutter, Write what you Know, and Know what you Write)
Remember RAII
catch exceptions by reference

A:

On my cheatsheet: interactions between const and pointers:
int       *       p;  // pointer
int const *       p;  // pointer to const value
int       * const p;  // const pointer
int const * const p;  // const pointer to const value

Essentially, split the declaration on the * symbol and if the const falls to the left, the pointed-to value is const, and if it falls to the right, the pointer itself is const.

A:

I keep a PDF of the C++ standard open.  It's good for quickly looking up all the library interfaces (particularly the container interfaces and iostream stuff).  It's also useful for quickly resolving co-workers' arguments about C++ syntax and semantics.
I haven't yet figured out how to load the PDF into my brain.

