A norm checker - C++ flavor