[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug with basic_string::push_back
From: |
Ronald Fischer |
Subject: |
Bug with basic_string::push_back |
Date: |
18 Apr 2002 13:18:41 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.3 |
Using gcc 3.0.2, the following program results in a compile-time error:
#include <string>
void f()
{
std::basic_string<int> i;
i+=4;
i.push_back(6); // line in error
}
The error message:
no type named
`iterator_category' in `struct std::iterator_traits<int>'
Ronald
--
To reduce spam in my inbox, the address given in the Reply-To: header is
not guaranteed to live longer than 1 month after the article was
posted. My permanent address is (after deleting the XXX):
Ronald Otto Valentin Fischer <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug with basic_string::push_back,
Ronald Fischer <=