Re: Bug in documentation: Gio::File Class Reference



On 03/08/16 07:06 PM, Alwin Leerling wrote:
Of course, my bad. Forgive my momentary lapse of reasoning. Still,
should you free std::string objects?

Because of
https://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization you
don't have to do anything. These are objects, not pointers to.

Hub


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]