Re: [Boost-bugs] [Boost C++ Libraries] #6635: Boost.Locale UTF encode function passes wrong type to output iterator

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6635: Boost.Locale UTF encode function passes wrong type to output iterator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-29 07:41:03


#6635: Boost.Locale UTF encode function passes wrong type to output iterator
-------------------------------------+--------------------------------------
  Reporter: jason.erb@… | Owner: artyom
      Type: Bugs | Status: assigned
 Milestone: Boost 1.50.0 | Component: locale
   Version: Boost 1.49.0 | Severity: Cosmetic
Resolution: | Keywords: Boost.Locale encode UTF
-------------------------------------+--------------------------------------
Changes (by artyom):

  * status: new => assigned
  * severity: Problem => Cosmetic
  * milestone: To Be Determined => Boost 1.50.0

Comment:

 AFAIK there should be no warning for conversion between integral and
 character type. It is done all over the code in all places.

 Casting to char_type would eliminate the warning but I'm not sure it is
 the correct approach.

 I'll think about it.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6635#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC