#pragma once template DataT Min(const DataT & a, const DataT & b) { DataT rv{b}; if (a < b) { rv = a; } return rv; }