-
September 25th, 2010, 05:24 AM
#1
Strange compiler error when including vector
Hi,
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:
_STLP_DECLARE_RANDOM_ACCESS_REVERSE_ITERATORS;
I am totally puzzled. I used stl vectors for ages and never had this error. Any idea why this is?
Thanks for any help
Sonny
-
September 25th, 2010, 05:29 AM
#2
Re: Strange compiler error when including vector
Problem solved! Had the include statement accidentally inside a namespace declaration
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|