#pragma once #include "iostream" forall(otype R, otype S) struct pair { R first; S second; }; forall(otype R, otype S | { int ?==?(R, R); int ??(R, R); int ?>?(S, S); }) int ?>?(pair(R, S) p, pair(R, S) q); forall(otype R, otype S | { int ?==?(R, R); int ?>?(R, R); int ?>=?(S, S); }) int ?>=?(pair(R, S) p, pair(R, S) q); // forall(otype R, otype S) // forall(dtype ostype | ostream( ostype ) | { ostype & ?|?( ostype &, R ); ostype & ?|?( ostype &, S ); }) // ostype & ?|?( ostype & os, pair(R, S) );