basic_split was not copyable in all compiler versions; refs #8

master
Marc Wäckerlin 11 years ago
parent b6e28189e7
commit e656d6c025
  1. 7
      src/mrw/iomanip.hxx

@ -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)

Loading…
Cancel
Save