This is the mail archive of the c++-embedded@sourceware.cygnus.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

wide streams in EC++


>[pjp]  Bet you didn't know that a fully conforming Standard C++ Library defines
>*four* wide-stream objects in <iostream>, 

Well, I know that, but I also know that you weren't talking to me.

>along with the four better-known
>char-based stream objects. And given the bizarre initialization requirements
>for these eight objects, it's rather difficult to eliminate all code for these objects
>*even if they're not used in the program.* 

Well, it's certainly possible for the compiler to deal with that but 
I trust you that w/o any compiler support it might be quite difficult 
for the library writer.

>That's one way in which the mere
>presence of a feature in a specification can quietly cost you even when you
>make no specific use of the feature.

Well, here the problem seems to be with initialisation problems. 

Why didn't you relaxed the 'bizarre' initialisation rules instead 
of removing wios and all (ok, I know, you didn't _removed_ anything, 
you didn't made wios mandatory) ?

It seems to me that:
- many (not all of course) embeded devices can be/are localised
- wchar_t makes it possible or at least easier to write portable 
  localised applications


Valentin Bonnard                mailto:bonnardv@pratique.fr
info about C++/a propos du C++: http://pages.pratique.fr/~bonnardv/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]