iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nrt::promote< T1, void, false > Struct Template Reference

#include <nrt/Core/Typing/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> > 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.

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: