Topic: Query on Std Template Lib


Author: sant@sasi.com
Date: 1998/10/26
Raw View
Hi,
Could you let me know where I can
find the definition of the class
"Container" in STL. (I am using
libstdc++-2.8.1 in Solaris).
Thanks
sant@sasi.com

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]





Author: Matt Austern <austern@sgi.com>
Date: 1998/10/26
Raw View
sant@sasi.com writes:

> Could you let me know where I can
> find the definition of the class
> "Container" in STL. (I am using
> libstdc++-2.8.1 in Solaris).

There is no such class in the standard C++ library.  "Container" is
not a class, but a general set of requirements.  Any class is called a
container if it satisfies those requirements.


[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]