$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Jeff Williams (jwilliams_at_[hidden])
Date: 2004-08-04 08:55:26
I was reading through the boost::shared_ptr source code, and I have a question about one small detail.
This is in boost release 1.31.0:
Around line 84 we have this code:
// enable_shared_from_this support
template<class T, class Y> void sp_enable_shared_from_this(boost::enable_shared_from_this<T> * pe, Y * px, shared_count const & pn)
{
if(pe != 0) pe->_internal_weak_this._internal_assign(px, pn);
}
I was curious, why is this function not inline?
Jeff