September 25th, 2010, 06:24 AM
Strange compiler error when including vector
if I try to include the stl header for vector I get the following compiler error in Borland C++ Builder 6:
'reverse_iterator' is not a member of '_STL'
The line in _vector.h where the compiler shows the error is:
I am totally puzzled. I used stl vectors for ages and never had this error. Any idea why this is?
Thanks for any help
September 25th, 2010, 06:29 AM
Re: Strange compiler error when including vector
Problem solved! Had the include statement accidentally inside a namespace declaration
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!