Matt Austern <austern@apple.com> writes: | I prefer option 1. So do I. Conceptualy static_cast<long>(e) should create a temporary. It is the optimizer's job to burn it. -- Gaby