typedef'ing iterators in MSVC's STL (not the HP STL) 
Author Message
 typedef'ing iterators in MSVC's STL (not the HP STL)

the old HP:
typedef vector<int>::iterator myIterator
worked (and works) fine
the new MSVC (which is more towards ANSI STL) but doesn't support template
default args,
typedef vector<int, allocator<int> >::iterator myIterator

doesn't compile,
any suggestions on how to keep the typedef? I'm still looking thru <vector>

Sat, 02 Oct 1999 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. STL collections/containers and iterators and DLL's

2. Using Other (HP/SGI/etc)STL's with Visual C

3. Porting code from SGI STL to MSVC STL

4. Q:Frequent malloc'ing and free'ing

5. typedef'ing a 24-bit integer

6. Structures and typedef 'ing

7. Typedef'ing Pointer to Function?

8. STL iterators do not work?

9. VC++ 7 STL, '==' operator required (not in VC++ 6 STL)

10. endl or '\n'? (STL)

11. MSVC STL not ANSI compliant?

12. MSoft's sample STL code won't compile


Powered by phpBB® Forum Software