Re: [Boost-bugs] [Boost C++ Libraries] #12292: [TypeErasure] Construction of any from static_binding fails if compiling with rvalue-ref support

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12292: [TypeErasure] Construction of any from static_binding fails if compiling with rvalue-ref support
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-06-22 11:41:57


#12292: [TypeErasure] Construction of any from static_binding fails if compiling
with rvalue-ref support
------------------------------------------+-----------------------------
  Reporter: Deniz Bahadir <D.Bahadir@…> | Owner: steven_watanabe
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: type_erasure
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
------------------------------------------+-----------------------------

Comment (by Deniz Bahadir <D.Bahadir@…>):

 I am sorry, I must correct some of my above mentioned explanations.

 `binding_of``` does not return a `static_binding```, but a `binding```,
 for which `any`-constructors are available.

 However, `make_binding``` returns a `static_binding``` and I see no reason
 why creating an `any``` with the help of `make_binding``` should not
 succeed. So, the pull-request still keeps its relevance.

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