Should I use static_cast or reinterpret_cast when casting a void* to whatever
Both static_cast and reinterpret_cast seem to work fine for casting void* to another pointer type. Is there a good reason to favor one over the other? 8 Answers 8
Both static_cast and reinterpret_cast seem to work fine for casting void* to another pointer type. Is there a good reason to favor one over the other? 8 Answers 8
Is there any reason to prefer static_cast<> over C style casting? Are they equivalent? Is there any sort of speed difference? 7 Answers 7