Ticket #2356: test.cpp
File test.cpp, 339 bytes (added by , 14 years ago) |
---|
Line | |
---|---|
1 | |
2 | #include <boost/iostreams/stream.hpp> |
3 | #include <boost/iostreams/device/null.hpp> |
4 | |
5 | using namespace boost; |
6 | using namespace boost::iostreams; |
7 | |
8 | struct customized_char_traits : public std::char_traits<char> {}; |
9 | |
10 | int main(int argc,char** argv) { |
11 | |
12 | stream<basic_null_sink<char>,customized_char_traits> tmpstr; |
13 | |
14 | return 0; |
15 | } |