This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Where are opfx(), osfx(), ipfx()?
- To: Craig Rodrigues <rodrigc at mediaone dot net>
- Subject: Re: Where are opfx(), osfx(), ipfx()?
- From: Raja R Harinath <harinath at cs dot umn dot edu>
- Date: 25 Feb 2001 20:53:14 -0600
- Cc: libstdc++ at gcc dot gnu dot org
- References: <20010225204803.A25475@mediaone.net>
Hi,
Craig Rodrigues <rodrigc@mediaone.net> writes:
> I am trying to compile some third party code which wants
> to use ostream::opfx(), ostream::osfx(), istream::ipfx() functions.
> These functions appear to be in libstdc++-v2, but not in libstdc++-v3
> (at least not in: gcc version 3.0 20010223)
>
> Where are they?
> If they are deprecated functions, how can I port this old code
> to use the libstdc++-v3 equivalents?
I think you should use the 'sentry' class instead. It's constructor
is somewhat equivalent to sfx(), and it's destructor like pfx().
- Hari
--
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions." -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing." -- Roy L Ash