Where are opfx(), osfx(), ipfx()?

Raja R Harinath harinath@cs.umn.edu
Sun Apr 1 00:00:00 GMT 2001


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



More information about the Libstdc++ mailing list