Re: [Boost-bugs] [Boost C++ Libraries] #13561: boost::detail::nullary_function causes stack overflow when copied

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13561: boost::detail::nullary_function causes stack overflow when copied
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-08-07 08:45:58


#13561: boost::detail::nullary_function causes stack overflow when copied
-------------------------+-------------------------------------------------
  Reporter: yhirsch@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be | Component: thread
  Determined |
   Version: Boost | Severity: Showstopper
  1.67.0 | Keywords:
Resolution: | stack,overflow,thread,future,nullary,function
-------------------------+-------------------------------------------------

Comment (by viboes):

 I've some trouble identifying where there is recursion

 {{{
       template<typename F>
       nullary_function(BOOST_THREAD_RV_REF(F) f):
       impl(new impl_type<typename
 decay<F>::type>(thread_detail::decay_copy(boost::forward<F>(f))))
       {}
 }}}

 {{{impl_type}}} is not {{{nullary_function}}}, isn't it?
 Could you clarify?

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13561#comment:4>
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 : 2018-08-07 08:51:54 UTC