Re: [Boost-bugs] [Boost C++ Libraries] #6182: lexical_cast: invalid application of 'sizeof' to incomplete type 'removed_ptr_t'

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6182: lexical_cast: invalid application of 'sizeof' to incomplete type 'removed_ptr_t'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-29 00:51:49


#6182: lexical_cast: invalid application of 'sizeof' to incomplete type
'removed_ptr_t'
----------------------------------+-----------------------------------------
  Reporter: pmachata@… | Owner: nasonov
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: lexical_cast
   Version: Boost 1.48.0 | Severity: Regression
Resolution: | Keywords:
----------------------------------+-----------------------------------------

Comment (by anonymous):

 About the proposed fix. To decide whether source type is char, you first
 ask whether it's char or wchar, and then compare sizeofs. I think the
 same can be achieved by simply asking whether src is char. I might be
 missing something though. That's what the patch implements.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6182#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:07 UTC