typedef T basic_filebuf<C, T>::traits_type;
#include <fstream>
#include <iostream>
#include <fstream>
int main() {
using namespace std;
cout << "Typedefs for basic_filebuf<char> :" << endl << endl;
cout << "char_type = " <<
typeid(basic_filebuf<char>::char_type).name() << endl;
cout << "int_type = " <<
typeid(basic_filebuf<char>::int_type).name() << endl;
cout << "off_type = " <<
typeid(basic_filebuf<char>::off_type).name() << endl;
cout << "pos_type = " <<
typeid(basic_filebuf<char>::pos_type).name() << endl;
cout << "traits_type = " <<
typeid(basic_filebuf<char>::traits_type).name() << endl;
// Keep the window open
cin.get();
return 0;
}
© 20072025 XoaX.net LLC. All rights reserved.