// ---------------------------------------------------------------------- // // div_l_l.cc - Does provide div(long,long) in namespace std::? // // History: // 02-Feb-2000 WEB Initial draft, based on multibyt.cc // 15-Feb-2000 WEB Update to correspond to revised USING macro // 25-Apr-2001 WEB s//"ISOcxx\/ISOcxxSyntax.hh"/ // // ---------------------------------------------------------------------- #include "ISOcxx/ISOcxxSyntax.hh" #include BEGIN_NAMESPACE( test ) long f() { return div(6L,3L).rem; } END_NAMESPACE( test ) int main() { USING( test::f ) return f(); } // main()