Re: iomanip.h

From: Masaharu Goto (gotom@hpyiddq.jpn.hp.com)
Date: Thu Sep 25 1997 - 03:08:08 MEST


Elemer,

 Will you elaborate your request? I need to know the detail of what you need.

 There 2 difficulties embedding iomanip.h.

 First, iomanip is based on define macro or template. These can be handled
 by the interpreter, however, there is no generic way to precompile macro 
 or template.  

 Second, iomanip is using operator<< overloading for pointer to function.
 Special care is needed when you use precompiled pointer to function in
 interpreted code.

 But, it may be possible to provide same functionality by using some trick
 if I understand what you need. It can be tidious, but emulating iomanip
 by special function class can provide the same thing.

 Masaharu Goto

>      Could you "pre-include" also iomanip.h containing useful macros
> for formatted i/o operations? (for reference see J.J.Barton, L.R.Nackman: 
> Scientific Engineering C++)
> --
> ---------------------------------------------------------------------------
> | Elemer Nagy                  |  Phone    : (+33) 04-91-82-72-73         |
> | C.P.P.M.                     |  Fax      : (+33) 04-91-82-72-99         |
> | 163, av. de Luminy Case 907  |  Internet : nagy@cppm.in2p3.fr           |
> | F-13288 Marseille CEDEX 09   |                                          |
> | FRANCE                       |                                          |
> ---------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:21 MET