3 ms·
You call C++ typecasts onerous, but does that mean you don't use them? I use them (because more C++ thumbscrews must be better), but, in my career, I think they
by cpeterso 13y ago
You call C++ typecasts onerous, but does that mean you don't use them? I use them (because more C++ thumbscrews must be better), but, in my career, I think they have found only 2-3 compile-time bugs that would have been hidden by C typecasts. I think the C++ function-call-style typecasts (e.g. `size_t x = size_t(-1)`) are pretty elegant.