Ticket #2356: test.cpp

File test.cpp, 339 bytes (added by Nicolas Vanhoren <nicolas.vanhoren@…>, 14 years ago)

code to reproduce the bug

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