This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
Why I love C++ so much.
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'to a child with c++, every problem looks like you need a pseudo-operator'" <cygwin-talk at cygwin dot com>
- Date: Wed, 20 Feb 2008 20:15:32 -0000
- Subject: Why I love C++ so much.
- Reply-to: The Vulgar and Unprofessional Cygwin-Talk List <cygwin-talk at cygwin dot com>
Because writing
hex << setw (8) << setfill ('0') << ((uintptr_t)(x)) << dec << setfill (' ')
is just soooooo much easier and more self-consistent and less typing than
"%08x", x
<grrrspit>
cheers,
DaveK
--
Can't think of a witty .sigline today....