forked from boostorg/smart_ptr
Remove uses of BOOST_NO_MEMBER_TEMPLATE_FRIENDS
This commit is contained in:
1 parent
d2c2407585
commit
66e6f9b2ef
3 files changed
+1
-18
No files matched your search
@@ -839,19 +839,12 @@ public:
|
||||
return pn;
|
||||
}
|
||||
|
||||
// Tasteless as this may seem, making all members public allows member templates
|
||||
// to work in the absence of member template friends. (Matthew Langston)
|
||||
|
||||
#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||
|
||||
private:
|
||||
|
||||
template<class Y> friend class shared_ptr;
|
||||
template<class Y> friend class weak_ptr;
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
element_type * px; // contained pointer
|
||||
boost::detail::shared_count pn; // reference counter
|
||||
|
||||
|
||||
Reference in new issue
Block a user