|
iLab Neuromorphic Robotics Toolkit
0.1
|
#include <Promotions.H>
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.
Public Types | |
| typedef T1 | type |
Static Public Attributes | |
| static bool const | will_promote = false |