MantisBT - ITK | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0011086 | ITK | public | 2010-08-03 15:17 | 2010-10-21 12:31 | ||||||
| Reporter | Bradley Lowekamp | |||||||||
| Assigned To | Bradley Lowekamp | |||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | |||||
| Status | closed | Resolution | fixed | |||||||
| Platform | OS | OS Version | ||||||||
| Product Version | ||||||||||
| Target Version | Fixed in Version | |||||||||
| Resolution Date | ||||||||||
| Sprint | ||||||||||
| Sprint Status | ||||||||||
| Summary | 0011086: Numeric Traits for array like types should use partial template specialization | |||||||||
| Description | Currently there is a big nasty macro used to define the numeric traits for array like types. // // First we define a macro that can be customized to be used for a sequence of // specializations or for a generic template instantiation. This Macro covers // the implementation for both partial specialization and total // specializaion by defining certain macros. // #define itkNumericTraitsGenericArrayMacro(GENERIC_ARRAY, T, D) \ With compiler support for C++98, all compiler should support partial template specialization | |||||||||
| Steps To Reproduce | ||||||||||
| Additional Information | A quickly generated list of the macros blowek1$ grep -R -E \#define\ itkNumericTraits[A-Za-z0-9]+Macro ./ ./Common/itkNumericTraitsDiffusionTensor3DPixel.h:#define itkNumericTraitsDiffusionTensor3DMacro(GENERIC_ARRAY, T) \ ./Common/itkNumericTraitsDiffusionTensor3DPixel.h:#define itkNumericTraitsDiffusionTensor3DMacro(GENERIC_ARRAY, T) \ ./Common/itkNumericTraitsFixedArrayPixel.h:#define itkNumericTraitsGenericArrayMacro(GENERIC_ARRAY, T, D) \ ./Common/itkNumericTraitsFixedArrayPixel.h:#define itkNumericTraitsGenericArrayScalarsDimensionsMacro( GENERIC_ARRAY ) \ ./Common/itkNumericTraitsFixedArrayPixel.h:#define itkNumericTraitsGenericArrayDimensionsMacro( GENERIC_ARRAY, T ) \ ./Common/itkNumericTraitsRGBAPixel.h:#define itkNumericTraitsRGBAPixelMacro(T) \ ./Common/itkNumericTraitsRGBPixel.h:#define itkNumericTraitsRGBPixelMacro(T) \ ./Common/itkNumericTraitsVariableLengthVectorPixel.h:#define itkNumericTraitsVariableLengthVectorPixelMacro(T) \ | |||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | ||||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2010-08-03 15:17 | Bradley Lowekamp | New Issue | ||||||||
| 2010-08-03 15:19 | Bradley Lowekamp | Relationship added | child of 0011084 | |||||||
| 2010-08-03 15:20 | Bradley Lowekamp | Note Added: 0021614 | ||||||||
| 2010-08-04 10:20 | Bradley Lowekamp | Note Added: 0021633 | ||||||||
| 2010-08-04 10:22 | Bradley Lowekamp | Note Added: 0021634 | ||||||||
| 2010-08-11 11:07 | Bradley Lowekamp | Status | new => assigned | |||||||
| 2010-08-11 11:07 | Bradley Lowekamp | Assigned To | => Bradley Lowekamp | |||||||
| 2010-08-16 08:50 | Bradley Lowekamp | Note Added: 0021766 | ||||||||
| 2010-08-16 08:50 | Bradley Lowekamp | Note Added: 0021767 | ||||||||
| 2010-08-16 08:50 | Bradley Lowekamp | Note Deleted: 0021767 | ||||||||
| 2010-08-16 08:51 | Bradley Lowekamp | Note Added: 0021768 | ||||||||
| 2010-08-16 08:51 | Bradley Lowekamp | Status | assigned => resolved | |||||||
| 2010-08-16 08:51 | Bradley Lowekamp | Resolution | open => fixed | |||||||
| 2010-10-21 12:31 | Gabe Hart | Status | resolved => closed | |||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||