Ticket #3279 (closed Bugs: fixed)

Opened 8 years ago

Last modified 7 years ago

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:


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.


Change History

comment:1 Changed 7 years ago by steven_watanabe

  • Status changed from new to closed
  • Resolution set to fixed

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


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

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

Note: See TracTickets for help on using tickets.