3 ms·
Why shouldn't you? You don't always have control over the code you are writing, an example that comes to my mind quickly is ffmpeg.
by Aldo_MX 12y ago
Why shouldn't you?
You don't always have control over the code you are writing, an example that comes to my mind quickly is ffmpeg.
- vinkelhake 12y agoHow does ffmpeg relate to this, isn't it written in C?
- shadowfox 12y agoHe may be talking about interfacing with C code of that nature. (You can still localize most of your new/deletes in to the wrapper classes though)
- nly 12y agoBecause using new and delete bare makes writing exception safe, leak-free code about 10 times harder. And I'm pretty sure ffmpeg is written in C.