Re: [Boost-bugs] [Boost C++ Libraries] #3358: return type of functions incorrect

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3358: return type of functions incorrect
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-10-05 23:42:13


#3358: return type of functions incorrect
---------------------------+--------------------------
  Reporter: anonymous | Owner: djowel
      Type: Bugs | Status: new
 Milestone: Boost 1.40.0 | Component: fusion
   Version: Boost 1.38.0 | Severity: Problem
Resolution: | Keywords: const return
---------------------------+--------------------------

Comment (by Kohei Takahashi <flast@…>):

 Fixed by https://github.com/boostorg/fusion/pull/106 .

 Replying to [comment:1 steven_watanabe]:
> Actually, I think it would be better if fusion::push_back were
 overloaded to allow either const or non-const arguments, like
>
> {{{
> template <typename Sequence, typename T>
> inline typename result_of::push_back<Sequence, T>::type
> push_back(Sequence & seq, T const& x);
>
> template <typename Sequence, typename T>
> inline typename result_of::push_back<Sequence const, T>::type
> push_back(Sequence const& seq, T const& x);
> }}}
 It will be handled in #3954.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3358#comment:2>
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:19 UTC