[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Numeric and Promote Traits of TinyVector |
The numeric and promote traits for TinyVectors follow the general specifications for Numeric and Promotion Traits. They are implemented in terms of the traits of the basic types by partial template specialization:
#include <vigra/tinyvector.hxx>
Namespace: vigra
On compilers that don't support partial template specialization (e.g. MS VisualC++), the traits classes are explicitly specialized for TinyVector<VALUETYPE, SIZE>
with VALUETYPE = unsigned char | int | float | double
and SIZE = 2 | 3 | 4
.
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|