[ VIGRA Homepage | Class Index | Function Index | File Index | Main Page ]

details ArrayVector Class Template Reference VIGRA

#include "vigra/array_vector.hxx"



Detailed Description


template<class T, class Alloc = std::allocator<T>>
class vigra::ArrayVector< T, Alloc >

Replacement for std::vector.

This template implements the same functionality as std::vector. However, it gives two usful guarantees, that std::vector fails to provide:

This means that memory managed by ArrayVector can be passed to algorithms that expect raw memory. This is especially important when lagacy or C code has to be called, but it is also useful for certain optimizations.

Refer to the documentation of std::vector for a detailed description of ArrayVector functionality.

#include "vigra/array_vector.hxx"
Namespace: vigra


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

© Ullrich Köthe (koethe@informatik.uni-hamburg.de)
Cognitive Systems Group, University of Hamburg, Germany

html generated using doxygen and Python
VIGRA 1.3.3 (18 Aug 2005)