|
degate 0.1.1
|
Compile time check for multi channel image types. More...
#include <TypeConstraints.h>
Public Member Functions | |
| assert_is_multi_channel_image () | |
Static Public Member Functions | |
| static void | constraints (ImageType img) |
Compile time check for multi channel image types.
Definition at line 58 of file TypeConstraints.h.
| degate::assert_is_multi_channel_image< ImageType >::assert_is_multi_channel_image | ( | ) | [inline] |
Definition at line 63 of file TypeConstraints.h.
References degate::assert_is_multi_channel_image< ImageType >::constraints(), and degate::ignore_unused_variable_warning().
{
void(*p)(ImageType) = constraints;
ignore_unused_variable_warning(p);
}

| static void degate::assert_is_multi_channel_image< ImageType >::constraints | ( | ImageType | img | ) | [inline, static] |
Definition at line 59 of file TypeConstraints.h.
Referenced by degate::assert_is_multi_channel_image< ImageType >::assert_is_multi_channel_image().
{
typedef typename ImageType::pixel_policy PolicyType;
PolicyType::is_multi_channel();
}

1.7.4