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:50:10


#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):

 Oh, I believe I see it now.

 The problem is on the open overloads

 {{{
 #ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
       template<typename F>
       explicit nullary_function(F& f);
 #endif
       template<typename F>
       nullary_function(BOOST_THREAD_RV_REF(F) f);
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13561#comment:5>
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:58:31 UTC