Modify

Opened 8 years ago

Closed 7 years ago

#3279 closed Bugs (fixed)

SymmetricFilter does not compile with non-char types

Reported by: anonymous Owned by: Jonathan Turkanis
Milestone: Boost 1.40.0 Component: iostreams
Version: Boost 1.39.0 Severity: Problem
Keywords: iostreams Cc:

Description

If I use SymmetricFilter? template with a type other than char (i.e. uint8_t) I get a compiler error when compiling boost/iostreams/filter/symmetric.hpp:

template<typename Sink> void close(Sink& snk, BOOST_IOS::openmode which)

IMHO the lines

char dummy; const char* end = &dummy;

should read

char_type dummy; const char_type* end = &dummy;

Please consider a change.

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by Steven Watanabe

Resolution: fixed
Status: newclosed

(In [63006]) Make symmetric_filter compile with wchar_t. Fixes #3279.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonathan Turkanis.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.