I am a little confused on this because I do not actually call 'new' but it is a pointer. So do I need to do anything when I am done using this object?
Thanks in advance.Code:ID3v2::Tag *tag2 = file.ID3v2Tag(true); // new is never called
I am a little confused on this because I do not actually call 'new' but it is a pointer. So do I need to do anything when I am done using this object?
Thanks in advance.Code:ID3v2::Tag *tag2 = file.ID3v2Tag(true); // new is never called
Well you would have to read the manual page for ID3v2Tag to find out.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.