My Project
Loading...
Searching...
No Matches
TNT::i_refvec< T > Class Template Reference

Public Member Functions

 i_refvec (int n)
 
 i_refvec (T *data)
 
 i_refvec (const i_refvec &v)
 
T * begin ()
 
const T * begin () const
 
T & operator[] (int i)
 
const T & operator[] (int i) const
 
i_refvec< T > & operator= (const i_refvec< T > &V)
 
void copy_ (T *p, const T *q, const T *e)
 
void set_ (T *p, const T *b, const T *e)
 
int ref_count () const
 
int is_null () const
 
void destroy ()
 

Constructor & Destructor Documentation

◆ i_refvec()

template<class T >
TNT::i_refvec< T >::i_refvec ( int n)
explicit

In case n is 0 or negative, it does NOT call new.


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