+2007-09-01 Bruno Haible <bruno@clisp.org>
+
+ * autosprintf.texi (Class autosprintf): Explain memory mangement
+ details.
+ Reported at <https://savannah.gnu.org/bugs/?17659>.
+
2007-05-05 Bruno Haible <bruno@clisp.org>
* autosprintf.texi (ifmakeinfo): Remove alias.
This file provides documentation for GNU @code{autosprintf} library.
@copying
-Copyright (C) 2002-2003 Free Software Foundation, Inc.
+Copyright (C) 2002-2003, 2006-2007 Free Software Foundation, Inc.
This manual is free documentation. It is dually licensed under the
GNU FDL and the GNU GPL. This means that you can redistribute this
@page
@vskip 0pt plus 1filll
@c @insertcopying
-Copyright (C) 2002-2003 Free Software Foundation, Inc.
+Copyright (C) 2002-2003, 2006-2007 Free Software Foundation, Inc.
This manual is free documentation. It is dually licensed under the
GNU FDL and the GNU GPL. This means that you can redistribute this
string and additional arguments, like the C function @code{printf}.
Conversions to @code{char *} and @code{std::string} are defined that return
-the encapsulated string.
+the encapsulated string. The conversion to @code{char *} returns a freshly
+allocated copy of the encapsulated string; it needs to be freed using
+@code{delete[]}. The conversion to @code{std::string} returns a copy of
+the encapsulated string, with automatic memory management.
The destructor @code{~autosprintf ()} destroys the encapsulated string.