On Fri, Aug 09, 2002 at 08:48:27PM +0200, Tim van Erven wrote:
> On Fri, Aug 09, 2002 at 08:38:19PM +0200, Ulrik Mikaelsson <[EMAIL PROTECTED]> 
>wrote:
> >> I think just checking for vector would be sufficient. Can anyone
> >> comment on that?
> >> 
> >> By the way, it is good practice to quote nested macro calls with '['
> >> and ']'. Note that AC_MSG_ERROR should be quoted too.
> > 
> > I think vector is not available in 2.96.x versions of gcc?
> 
> vector = vector.h
vector != vector.h
In <vector> the whole vector-stuff is wrapped inside namespace std. 
The difference is:
You'll have to say "using namespace std;" or just
"using std::vector" or say "std::vector" each time you use it.
Otherwise it will stay invisible.
Or just stay with "vector.h".
Same for all the rest of STL, except <string>.
> The only difference is that the .h notation is deprecated and
> gcc3.something enforces this.
gcc3 can also handle vector.h just as well.
But there were previous versions of gcc, which simply ignored
namespace std and let u use without prerequisites.

Bj�rn



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to