Object(boost::shared_ptr<Object_Impl> impl)
   : m_impl(impl)
 {
   BOOST_ASSERT(m_impl);
   boost::weak_ptr<Object_Impl> weakImpl(impl);
   BOOST_ASSERT(weakImpl.lock());
 }
Esempio n. 2
0
 Object(std::shared_ptr<Object_Impl> impl)
   : m_impl(impl)
 {
   OS_ASSERT(m_impl);
   std::weak_ptr<Object_Impl> weakImpl(impl);
   OS_ASSERT(weakImpl.lock());
 }