TooN 2.1
|
Hold a pointer to yield a statically sized slice of a Vector. Not resizable. More...
#include <allocator.hh>
Public Types | |
typedef PtrType | PointerType |
typedef ConstPtrType | ConstPointerType |
typedef RefType | ReferenceType |
typedef ConstRefType | ConstReferenceType |
Public Member Functions | |
int | size () const |
VectorSlice (PtrType p) | |
VectorSlice (PtrType p, int) | |
template<class Op > | |
VectorSlice (const Operator< Op > &op) | |
Public Attributes | |
const PtrType | my_data |
Protected Member Functions | |
PtrType | data () |
ConstPtrType | data () const |
void | try_destructive_resize (int) |
template<class Op > | |
void | try_destructive_resize (const Operator< Op > &) |
Hold a pointer to yield a statically sized slice of a Vector. Not resizable.