/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// test_codecvt_null.cpp
-// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
+// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
-namespace std{
+namespace std{
using ::remove;
}
#endif
int i = 10;
ofs << i;
ofs.close();
-
+
std::wifstream ifs("testfile2");
ifs.imbue(null_locale);
int i2;
BOOST_CHECK(i == i2);
ifs.close();
}
-
+
std::remove(testfile);
return EXIT_SUCCESS;
}