Originally posted by parksie
PS: There's no trick - if you have the source for your compiler's standard library (MSVC has it, and most others do as well) then you can read through that.
Where in MSVC? I know they include template code.

Ordinary operator code?