Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

try

typedef Vec<uchar, 2> Vec2b;

try

typedef Vec<uchar, 2> Vec2b;
Vec2b v = Vec2b::all(5);

try

// if that's the type
typedef Vec<uchar, 2> Vec2b;

// you get a vector containing all elements set to 5.
Vec2b v = Vec2b::all(5);