template <typename T>

class MakeRefCountedHelper

Defined at line 273 of file ../../zircon/system/ulib/fbl/include/fbl/ref_ptr.h

This is a wrapper class that can be friended for a particular |T|, if you

want to make |T|'s constructor private, but still use |MakeRefCounted()|

(below). (You can't friend partial specializations.)

Public Methods

template <typename... Args>
RefPtr<T> MakeRefCounted (Args &&... args)

Defined at line 276 of file ../../zircon/system/ulib/fbl/include/fbl/ref_ptr.h

template <typename... Args>
RefPtr<T> MakeRefCountedChecked (AllocChecker * ac, Args &&... args)

Defined at line 281 of file ../../zircon/system/ulib/fbl/include/fbl/ref_ptr.h