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: 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 set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain turkanis.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.