Opened 8 years ago

#10564 new Bugs

iostreams with custom character class

Reported by: jur.zikmund@… Owned by: Jonathan Turkanis
Milestone: To Be Determined Component: iostreams
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

I am trying to use iostreams with custom character class with its own traits.

Exactly: std::basic_istream<Character, CharacterTraits> boost::iostreams::filtering_stream<boost::iostreams::input_seekable, Character, CharacterTraits>

This gives me bunch of errors cannot assign std::char_traits<Character> to CharacterTraits.

I have figured out a few places, where the traits does not propagate correctly.

I have attached patch files, for places, where I believe, character trait propagation is missing.

Attachments (2)

chain.patch (1.5 KB ) - added by jur.zikmund@… 8 years ago.
chain.hpp patch file
translate_int_type.patch (607 bytes ) - added by jur.zikmund@… 8 years ago.
translate_int_type.hpp patch file

Download all attachments as: .zip

Change History (2)

by jur.zikmund@…, 8 years ago

Attachment: chain.patch added

chain.hpp patch file

by jur.zikmund@…, 8 years ago

Attachment: translate_int_type.patch added

translate_int_type.hpp patch file

Note: See TracTickets for help on using tickets.