Re: [Boost-bugs] [Boost C++ Libraries] #7025: circular buffer reports warning: " type qualifiers ignored on function return type" while compile.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7025: circular buffer reports warning: " type qualifiers ignored on function return type" while compile.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-09 20:42:53


#7025: circular buffer reports warning: " type qualifiers ignored on function
return type" while compile.
-------------------------------+-------------------------
  Reporter: alps_xing@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: call_traits
   Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-------------------------
Changes (by viboes):

 * component: circular_buffer => call_traits

Comment:

 I suspect that this need a change in boost/detail/call_traits.hpp

 The following
 {{{
 template <typename T>
 struct ct_imp2<T, true>
 {
    typedef const T param_type;
 };
 }}}


 should be


 {{{
 template <typename T>
 struct ct_imp2<T, true>
 {
    typedef T param_type;
 };

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7025#comment:3>
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:13 UTC