// ---------------------------------------------------------------------- // // clearstr.cc - Do we have std::string::clear()? // // History: // 31-Aug-2000 WEB Initial draft // 25-Apr-2001 WEB s//"ISOcxx\/ISOcxxSyntax.hh"/ // // ---------------------------------------------------------------------- #include "ISOcxx/ISOcxxSyntax.hh" #include int main() { std::string s; s = std::string( "Hello" ); CLEAR_STRING(s); return s.length(); } // main()