just use a forward declaration for C++ iterator types to fix enum errors
This commit is contained in:
parent
4a149f66fd
commit
b09fce84a4
1 changed files with 1 additions and 2 deletions
|
|
@ -20,8 +20,7 @@
|
|||
namespace std {
|
||||
template <typename T> class list {
|
||||
public:
|
||||
// This typedef is a weird hack to make stuff work
|
||||
typedef std::list<T>::iterator iterator;
|
||||
struct iterator;
|
||||
typedef size_t size_type;
|
||||
typedef T value_type;
|
||||
typedef T& reference;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue