Re: vectors

ML <[email protected]>
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
Avi, Clark,


> Or can I just do this when I actually declare and use the vector each time:
> "using std::vector <type> vector_name"
> 
> 
> "using" is a one time declaration:
> 
> using std::vector;
> using std::list;
> 
> If you want to qualify each time, you can. Just don't use "using":
> 
> std::vector<std::list<int> > a;

Thanks, for the advice, I'll do some reading up on this now that I have a clear path.

-Jason
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.