[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#155900: nonstandard overloads in num_get facet



Package: libstdc++3
Version: 3.0.4-7

Using woody/i386


The num_get facets should (according to the book 'IOstreams and locales' by 
Langer and Kreft) contain put methods for
  bool
  long
  unsigned long
  double
  long double
  void*

GCC's stdlib instead has
  bool
#ifdef _GLIBCPP_RESOLVE_LIB_DEFECTS
  short
  int
#endif
  long
#ifdef _GLIBCPP_USE_LONG_LONG
  long long
#endif
  unsigned short [*]
  unsigned int [*]
  unsigned long
#ifdef _GLIBCPP_USE_LONG_LONG
  long long
#endif
  float [*]
  double
  long double
  void*

[*]: these are the ones not wrapped with the preprocessor that cause 
conflicts.

As I said, I don't have the standard at hand, so I can't tell which have to 
be present and which not. Anyway, the asymmetric handling of short/int and 
their unsigned equivalents suggests that there is something wrong.

cheers and regards

Ulrich Eckhardt





Reply to: