I have these errors i could not fixed it:
template< class char_type, class traits_type>
class invalid_streambuf : public std::basic_streambuf< char_type, traits_type>
{
typedef std::basic_streambuf< char_type, traits_type> base_class;
using typename base_class::int_type;
...
virtual int_type overflow(int_type nChar)
{ return 0; }
...
}
‘int_type’ does not name a type
template< class char_type, class traits_type>
class basic_thread_safe_log
: protected basic_message_handler_log< char_type, traits_type>
{
typedef basic_message_handler_log< char_type, traits_type> base_class;
using typename base_class::string_type;
void on_last_message( const string_type & str)
{
assert ( str.empty());
}
...
}
ISO C++ forbids declaration of ‘string_type’ with no type