// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
// Adapted from an example of James Kanze. See
-// http://www.gabi-soft.fr/codebase-en.html.
+// https://web.archive.org/web/20041222094942/http://www.gabi-soft.fr/codebase-en.html.
// See http://www.boost.org/libs/iostreams for documentation.
class line_wrapping_input_filter : public input_filter {
public:
explicit line_wrapping_input_filter(int line_length = 80)
- : line_length_(line_length), col_no_(0), has_next_(false)
+ : line_length_(line_length), col_no_(0), next_(0), has_next_(false)
{ }
template<typename Source>
int line_length_;
int col_no_;
int next_;
- int has_next_;
+ bool has_next_;
};
class line_wrapping_output_filter : public output_filter {