basic_split was not copyable in all compiler versions; refs #8
This commit is contained in:
@@ -38,6 +38,13 @@ namespace mrw {
|
||||
template <class _CharT = char, class _Traits = std::char_traits<_CharT> >
|
||||
class basic_split /*: public std::basic_ostream<_CharT, _Traits>*/ {
|
||||
public:
|
||||
basic_split(const basic_split& o):
|
||||
_width(o._width),
|
||||
_indent(o._indent),
|
||||
_fill(o._fill),
|
||||
_buffer(o._buffer.str()),
|
||||
_os(o._os) {
|
||||
}
|
||||
basic_split(int width=80, int indent=0, char fill=' '):
|
||||
_width(width), _indent(indent), _fill(fill), _os(0) {
|
||||
if (_width<_indent)
|
||||
|
Reference in New Issue
Block a user