ITK  4.2.0
Insight Segmentation and Registration Toolkit
Static Public Attributes
itk::GetVectorDimension< TVector > Struct Template Reference

#include <itkFixedArray.h>

List of all members.

Static Public Attributes

static const unsigned int VectorDimension = TVector::Dimension

Detailed Description

template<typename TVector>
struct itk::GetVectorDimension< TVector >

Due to a bug in MSVC, an enum value cannot be accessed out of a template parameter until the template class opens. In order for templated classes to access the dimension of a vector template parameter in defining their own dimension, this class is needed as a work-around.

Definition at line 34 of file itkFixedArray.h.


Member Data Documentation

template<typename TVector >
const unsigned int itk::GetVectorDimension< TVector >::VectorDimension = TVector::Dimension
static

Definition at line 35 of file itkFixedArray.h.


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