libstdc++/5745: get_temporary_buffer and return_temporary_buffer missing in ext/memory
Philipp Thomas
pthomas@suse.de
Thu Feb 21 08:35:00 GMT 2002
* Paolo Carlini (pcarlini@unitus.it) [20020221 17:14]:
> >
> > * include/backward/tempbuf.h: get_temporary_buffer and
> > return_temporary_buffer are in namespace std, not in __gnu_cxx.
> Your patch does *not* really fix the problem:
Oh, yes, it *does* fix it ;-)
> you have to additionally include <memory> (which now contains
> get_temporary_buffer and return_temporary_buffer) !
This isn't needed, as ext/memory already includes <memory>.
Including tempbuf.h (or any other header that includes it) with my patch
applied only gets you the 'deprecated' warning as it should be.
Philipp
--
Philipp Thomas <pthomas@suse.de>
SuSE Linux AG, Deutscherrnstr. 15-19, D-90429 Nuremberg, Germany
More information about the Libstdc++
mailing list