std::num_put<char, char*>

Eddie eddie@mailforce.net
Mon Aug 11 18:45:00 GMT 2008


> ... I have two different suggestions: 1- BROWSE the code, this is FREE
> SOFTWARE! 2- If the latter fails, ask for help on the gcc-help mailing
> list, because this one is about the development of the library.

I will browse the code. I have never delved into the standard library
code, always been a little afraid to. Thanks for the help.

One little question though, which relates purely to the standard and
libstdc++. Your original reply you said:

> Essentially right, this is Table 52.

Does this mean that YES, the standard requires that num_put work with
any output iterator type? And if so, in the next part of your reply:

> On purpose. Table 51 only mandates that has_facet<num_put<char> >(loc)
> shall be true, for any loc either constructed or returned by
> locale::classic(). Nothing is said about, legal, additional, facets
> identified by a given locale. In principle, that is an unbounded set,
> one for each possible output iterator type...

Are you implying that num_put<char, char*> would be considered an
additional facet on top of the standard ones that each locale is
required to support? Sorry to beat this, but I really want to understand
that before I move on. Thanks.
--
	Eddie



More information about the Libstdc++ mailing list