// rectangle_shape.cpp namespace ShapeImpl { double area(const Rectangle &rectangle) { return rectangle.width * rectangle.height; } } // namespace ShapeImpl