Lines Matching refs:std
41 // {Managed<T>} is essentially a {std::shared_ptr<T>} allocated on the heap
46 // {std::shared_ptr<T>}, thereby decrementing its internal reference count,
58 V8_INLINE const std::shared_ptr<CppType>& get() { return *GetSharedPtrPtr(); }
75 // Create a {Managed<CppType>} from an existing {std::unique_ptr<CppType>}.
80 std::unique_ptr<CppType> unique_ptr);
82 // Create a {Managed<CppType>} from an existing {std::shared_ptr<CppType>}.
85 std::shared_ptr<CppType> shared_ptr);
89 // std::shared_ptr<CppType>.
90 std::shared_ptr<CppType>* GetSharedPtrPtr() {
93 return reinterpret_cast<std::shared_ptr<CppType>*>(
100 auto shared_ptr_ptr = reinterpret_cast<std::shared_ptr<CppType>*>(ptr);