iLab Neuromorphic Robotics Toolkit  0.1
nrt::promote< T1, void, false > Struct Template Reference

#include <Promotions.H>


template<class T1>
struct nrt::promote< T1, void, false >

Specialization of nrt::promote when second type is void, promoted type is the first type.

This is useful if you want to not promote, for example:

      nrt::Image<nrt::PixGray<nrt::byte> > src;
      nrt::Image<nrt::PixGray<nrt::byte> > dest = nrt::lowPass3<void>(src);
      // by default, lowPass3() would return Image<PixGray<double>> as its default promo parameter is double

Definition at line 115 of file Promotions.H.

List of all members.

Public Types

typedef T1 type

Static Public Attributes

static bool const will_promote = false

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines