Re: [Boost-bugs] [Boost C++ Libraries] #6941: ASIO Daytime.3 example misuses enable_shared_from_this

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6941: ASIO Daytime.3 example misuses enable_shared_from_this
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-24 23:16:54


#6941: ASIO Daytime.3 example misuses enable_shared_from_this
------------------------------------+---------------------------------------
  Reporter: m_albert137@… | Owner: chris_kohlhoff
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------+---------------------------------------

Comment (by m_albert137@…):

 My apologies.... I missed that point.

 http://en.cppreference.com/w/cpp/memory/enable_shared_from_this

 Also, it makes sense that the c'tor is private and the factory forces the
 construction of the shared pointer.

 Thank you.

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