M
Michael Bruschkewitz
Hello,
I'm somehow annoyed.
This works:
using namespace std; // <-- Don't like this
std::basic_filebuf<char> fb;
fb.open("out.txt",std::ios_base:ut);
std::basic_ofstream<char> ofs;
ofs.basic_ios<char>::rdbuf(&fb);
This too:
typedef basic_ios<char> bioschar; // Don't like this
ofs.bioschar::rdbuf(&fb);
This not:
// Would like this
std::basic_filebuf<char> fb;
fb.open("out.txt",std::ios_base:ut);
std::basic_ofstream<char> ofs;
ofs.std::basic_ios<char>::rdbuf(&fb); // <-- but Error here
Generally, I don't like using using. I don't like the typedef version
either. Is there an easy way to make the last version working? (MSVC6)
TIA,
Michael B.
I'm somehow annoyed.
This works:
using namespace std; // <-- Don't like this
std::basic_filebuf<char> fb;
fb.open("out.txt",std::ios_base:ut);
std::basic_ofstream<char> ofs;
ofs.basic_ios<char>::rdbuf(&fb);
This too:
typedef basic_ios<char> bioschar; // Don't like this
ofs.bioschar::rdbuf(&fb);
This not:
// Would like this
std::basic_filebuf<char> fb;
fb.open("out.txt",std::ios_base:ut);
std::basic_ofstream<char> ofs;
ofs.std::basic_ios<char>::rdbuf(&fb); // <-- but Error here
Generally, I don't like using using. I don't like the typedef version
either. Is there an easy way to make the last version working? (MSVC6)
TIA,
Michael B.