Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Filtering streams for bz2
Re: Filtering streams for bz2 [message #49350 is a reply to message #49348] |
Tue, 30 January 2018 14:24   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Tue, 30 January 2018 05:46
However, I am completely puzzled why have you changed OutFilterStream. AFAIK, all those new bool's there are ignored?
Code wouldn't compile otherwise. I'm getting an error "void function 'Execute' should not return a value" (Clang) in the method OutFilterStream::Set "Filter = callback<F, F, const void *, int>(&filter, &F::Put);"
"bool Put(const void *ptr, int size)" is symmetric (used by both OutFilterStream and InFilterStream).
So, either interface of filter object should be redesigned (separate methods Put and Get), or OutFilterStream::Filter should be also be Gate.
Regards,
Novo
[Updated on: Tue, 30 January 2018 17:13] Report message to a moderator
|
|
|
 |
 |
Filtering streams for bz2
By: Novo on Wed, 24 January 2018 20:28
|
 |
|
Re: Filtering streams for bz2
By: mirek on Sun, 28 January 2018 10:54
|
 |
|
Re: Filtering streams for bz2
By: Novo on Tue, 30 January 2018 02:54
|
 |
|
Re: Filtering streams for bz2
By: mirek on Tue, 30 January 2018 11:46
|
 |
|
Re: Filtering streams for bz2
By: Novo on Tue, 30 January 2018 14:24
|
 |
|
Re: Filtering streams for bz2
By: mirek on Fri, 09 February 2018 09:54
|
 |
|
Re: Filtering streams for bz2
By: Novo on Sun, 11 February 2018 21:22
|
 |
|
Re: Filtering streams for bz2
By: mirek on Mon, 12 February 2018 02:10
|
 |
|
Re: Filtering streams for bz2
By: Novo on Mon, 12 February 2018 14:26
|
 |
|
Re: Filtering streams for bz2
By: mirek on Thu, 15 February 2018 20:40
|
Goto Forum:
Current Time: Sat Aug 23 15:01:54 CEST 2025
Total time taken to generate the page: 0.05177 seconds
|