GCC Middle and Back End API Reference
auto_vec< T, 0 > Class Template Reference

#include <vec.h>

Inheritance diagram for auto_vec< T, 0 >:
Collaboration diagram for auto_vec< T, 0 >:

Public Member Functions

 auto_vec ()
 
 auto_vec (size_t n CXX_MEM_STAT_INFO)
 
 ~auto_vec ()
 
 auto_vec (vec< T, va_heap > &&r)
 
 auto_vec (auto_vec< T > &&r)
 
auto_vecoperator= (vec< T, va_heap > &&r)
 
auto_vecoperator= (auto_vec< T > &&r)
 
vec< T, va_heapto_vec_legacy ()
 
 auto_vec (const auto_vec &)=delete
 
auto_vecoperator= (const auto_vec &)=delete
 

Detailed Description

template<typename T>
class auto_vec< T, 0 >
auto_vec is a sub class of vec whose storage is released when it is
destroyed.  

Constructor & Destructor Documentation

◆ auto_vec() [1/5]

template<typename T >
auto_vec< T, 0 >::auto_vec ( )
inline

References NULL.

◆ auto_vec() [2/5]

template<typename T >
auto_vec< T, 0 >::auto_vec ( size_t n CXX_MEM_STAT_INFO)
inline

References PASS_MEM_STAT.

◆ ~auto_vec()

template<typename T >
auto_vec< T, 0 >::~auto_vec ( )
inline

◆ auto_vec() [3/5]

template<typename T >
auto_vec< T, 0 >::auto_vec ( vec< T, va_heap > && r)
inline

References gcc_assert, NULL, and r.

◆ auto_vec() [4/5]

template<typename T >
auto_vec< T, 0 >::auto_vec ( auto_vec< T > && r)
inline

References gcc_assert, NULL, and r.

◆ auto_vec() [5/5]

template<typename T >
auto_vec< T, 0 >::auto_vec ( const auto_vec< T, 0 > & )
delete

Member Function Documentation

◆ operator=() [1/3]

template<typename T >
auto_vec & auto_vec< T, 0 >::operator= ( auto_vec< T > && r)
inline

References gcc_assert, NULL, and r.

◆ operator=() [2/3]

template<typename T >
auto_vec & auto_vec< T, 0 >::operator= ( const auto_vec< T, 0 > & )
delete

◆ operator=() [3/3]

template<typename T >
auto_vec & auto_vec< T, 0 >::operator= ( vec< T, va_heap > && r)
inline

References gcc_assert, NULL, and r.

◆ to_vec_legacy()

template<typename T >
vec< T, va_heap > auto_vec< T, 0 >::to_vec_legacy ( )
inline

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