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



On Wed, 2016-08-03 at 22:49 -0400, Hubert Figuière wrote:
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

Exactly my point. Thus the documentation is wrong.

I believe this is the forum to report bugs, or documentation
inaccuracies or is there another way to bring this to a maintainers
attention.

Alwin



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