V8 Project
v8::internal::SmartArrayPointer< T > Class Template Reference

#include <smart-pointers.h>

+ Inheritance diagram for v8::internal::SmartArrayPointer< T >:
+ Collaboration diagram for v8::internal::SmartArrayPointer< T >:

Public Member Functions

 SmartArrayPointer ()
 
 SmartArrayPointer (T *ptr)
 
 SmartArrayPointer (const SmartArrayPointer< T > &rhs)
 
- Public Member Functions inherited from v8::internal::SmartPointerBase< ArrayDeallocator< T >, T >
 SmartPointerBase ()
 
 SmartPointerBase (T *ptr)
 
 SmartPointerBase (const SmartPointerBase< ArrayDeallocator< T >, T > &rhs)
 
Toperator-> () const
 
Toperator* () const
 
Tget () const
 
Toperator[] (size_t i)
 
const Toperator[] (size_t i) const
 
TDetach ()
 
void Reset (T *new_value)
 
SmartPointerBase< ArrayDeallocator< T >, T > & operator= (const SmartPointerBase< ArrayDeallocator< T >, T > &rhs)
 
bool is_empty () const
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::SmartPointerBase< ArrayDeallocator< T >, T >
 ~SmartPointerBase ()
 

Detailed Description

template<typename T>
class v8::internal::SmartArrayPointer< T >

Definition at line 100 of file smart-pointers.h.

Constructor & Destructor Documentation

◆ SmartArrayPointer() [1/3]

template<typename T >
v8::internal::SmartArrayPointer< T >::SmartArrayPointer ( )
inline

Definition at line 102 of file smart-pointers.h.

102 { }

◆ SmartArrayPointer() [2/3]

template<typename T >
v8::internal::SmartArrayPointer< T >::SmartArrayPointer ( T ptr)
inlineexplicit

Definition at line 103 of file smart-pointers.h.

104  : SmartPointerBase<ArrayDeallocator<T>, T>(ptr) { }
#define T(name, string, precedence)
Definition: token.cc:25

◆ SmartArrayPointer() [3/3]

template<typename T >
v8::internal::SmartArrayPointer< T >::SmartArrayPointer ( const SmartArrayPointer< T > &  rhs)
inline

Definition at line 105 of file smart-pointers.h.

106  : SmartPointerBase<ArrayDeallocator<T>, T>(rhs) { }

The documentation for this class was generated from the following file: