// ---------------------------------------------------------------------- // // cstlbstd.cc - Are types & functions in namespace std::? // // History: // 01-Jun-1999 WEB Initial draft // 02-Jun-1999 WEB Incorporate syntax.h header for consistency // 18-Jun-1999 WEB Adopt new name for compliance header // 25-Jun-1999 WEB Add function accidentally skipped; remove multi- // byte functions for separate testing // 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 ) // standard types USING( std::div_t ) USING( std::ldiv_t ) USING( std::size_t ) // standard functions USING( std::abort ) USING( std::abs ) USING( std::abs ) USING( std::atexit ) USING( std::atof ) USING( std::atoi ) USING( std::atol ) USING( std::bsearch ) USING( std::calloc ) USING( std::div ) USING( std::div ) USING( std::exit ) USING( std::free ) USING( std::getenv ) USING( std::labs ) USING( std::ldiv ) USING( std::malloc ) USING( std::qsort ) USING( std::rand ) USING( std::realloc ) USING( std::srand ) USING( std::strtod ) USING( std::strtol ) USING( std::strtoul ) USING( std::system ) int f() { return 0; } END_NAMESPACE( test ) int main() { USING( test::f ) return f(); } // main()