rebind< C, T > Struct Template Reference

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

#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 Sun May 8 08:24:10 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3