TooN 2.1
Classes | Public Member Functions | Protected Member Functions | Protected Attributes
VectorAlloc< Resizable, Precision > Struct Template Reference
Inheritance diagram for VectorAlloc< Resizable, Precision >:
DefaultTypes< Precision >

List of all members.

Classes

struct  SFINAE_dummy

Public Member Functions

 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 >
void try_destructive_resize (const Op &)
void try_destructive_resize (int newsize)

Protected Attributes

std::vector< Precision > numbers
SFINAE_dummy< sizeof(&Operator
< Op >::size)>::type 
try_destructive_resize (const Operator< Op > &op)

template<class Precision>
struct TooN::Internal::VectorAlloc< Resizable, Precision >