TooN
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TooN::Internal::VectorAlloc< Resizable, Precision > Struct Template Reference
Inheritance diagram for TooN::Internal::VectorAlloc< Resizable, Precision >:
Inheritance graph
[legend]
Collaboration diagram for TooN::Internal::VectorAlloc< Resizable, Precision >:
Collaboration graph
[legend]

Public Member Functions

 VectorAlloc (std::initializer_list< Precision > i)
 
 VectorAlloc (int s)
 
template<class Op >
 VectorAlloc (const Operator< Op > &op)
 
int size () const
 
Precision * get_data_ptr ()
 
const Precision * get_data_ptr () const
 
void swap (VectorAlloc &s)
 
void resize (int s)
 

Protected Member Functions

Precision * data ()
 
const Precision * data () const
 
template<class Op >
SFINAE_dummy< sizeof(&Operator< Op >::size)>::type try_destructive_resize (const Operator< Op > &op)
 
template<class Op >
void try_destructive_resize (const Op &)
 
void try_destructive_resize (int newsize)
 

Protected Attributes

std::vector< Precision > numbers
 

Additional Inherited Members

- Public Types inherited from TooN::Internal::DefaultTypes< Precision >
typedef Precision * PointerType
 
typedef const Precision * ConstPointerType
 
typedef Precision & ReferenceType
 
typedef const Precision & ConstReferenceType
 

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