forked from boostorg/smart_ptr
counted_base default constructor added
[SVN r13542]
This commit is contained in:
@ -49,6 +49,11 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
counted_base():
|
||||||
|
use_count_(0), weak_count_(0), self_deleter_(&self_delete)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
// pre: initial_use_count <= initial_weak_count
|
// pre: initial_use_count <= initial_weak_count
|
||||||
|
|
||||||
explicit counted_base(long initial_use_count, long initial_weak_count):
|
explicit counted_base(long initial_use_count, long initial_weak_count):
|
||||||
|
Reference in New Issue
Block a user