#include #include using namespace boost; using namespace boost::iostreams; struct customized_char_traits : public std::char_traits {}; int main(int argc,char** argv) { stream,customized_char_traits> tmpstr; return 0; }