There are various transformations that we can apply to a block of pixels such as rotating the block, inverting or reversing it. Write and test functions to do some of those things to an area whose data is stored as an area_data object.
The <algorithms > header in the Standard C++ Library includes std: : reverse $\mathrm{O}$, which reverses the order of elements in a sequence container. Given cont is a suitable container the following reverses the elements:
reverse(cont.begin(), cont. end $\mathrm{O}$ );