[haiku-bugs] Re: [Haiku] #7757: BString operator<< incomplete

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Tue, 28 Jun 2011 13:21:33 -0000

#7757: BString operator<< incomplete
--------------------------------+-----------------------
   Reporter:  fano              |      Owner:  axeld
       Type:  enhancement       |     Status:  new
   Priority:  normal            |  Milestone:  R1
  Component:  Kits/Support Kit  |    Version:  R1/alpha3
 Resolution:                    |   Keywords:  BString
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+-----------------------

Comment (by bonefish):

 Actually there are `int64`/`uint64` versions of the operator in alpha 3
 (replaced by `[unsigned] long long` in the trunk). At least with respect
 to precision a `double` version wouldn't make all that much sense, since
 the format string is hard-coded to "%.2f" anyway. It wouldn't harm to add
 it anyway, though (it does at least save conversions). In case of `bool`
 you'd expect a "true"/"false" string, I suppose?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7757#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: