Example:
rgb8_pixel_t rgb_red(255,0,0); bgr8_pixel_t bgr_red(0,0,255); assert(rgb_red[0]==255 && bgr_red[0]==0); assert(static_equal(rgb_red,bgr_red)); assert(rgb_red==bgr_red); // operator== invokes static_equal