// ---------------------------------------------------------------------- // // min_max.cc - Does have std::min() and std::max()? // // History: // 12-Aug-1999 WEB Initial draft // 15-Feb-2000 WEB Update to correspond to revised USING macro // 25-Apr-2001 WEB s//"ISOcxx\/ISOcxxSyntax.hh"/ // // ---------------------------------------------------------------------- #include "ISOcxx/ISOcxxSyntax.hh" #include int main() { USING(std::min) USING(std::max) return min(0,16) + min(16,0) + max(0,-9) + max(-9,0); } // main()