Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

rebind< C, T > Struct Template Reference

#include <Image/PixelsTypes.H>


Detailed Description

template<class C, class T>
struct rebind< C, T >

Helper struct to provide a generic way to "rebind" template parameters.

That is, this gives us a way to get Foo<T2> if we are given Foo<T>, or to get Bar<T2, U> if we are given Bar<T, U>. In particular, this lets us write generic functions that can deal with pixel types that have either a single template parameter (e.g. PixRGB<T>, PixHSV<T>), or more than one template parameter (e.g. PixHyper<T, dim>).

Definition at line 214 of file PixelsTypes.H.


The documentation for this struct was generated from the following file:
Generated on Mon Nov 23 15:50:52 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4