question about an implementation detail in boost::shared_ptr

4 Aug
2004
4 Aug
'04
7:55 a.m.
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
7624
Age (days ago)
7624
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jeff Williams