Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

misc/stlutil.h File Reference

Utility functions for STL containers. More...

#include <glt/config.h>
#include <vector>
#include <iosfwd>
#include <string>

Include dependency graph for stlutil.h:

Include dependency graph

Go to the source code of this file.

Functions

template<class T, class A> void shrink (std::vector< T, A > &v)
 Shrink std::vector memory buffer to size of contents.

template<class T, class A> std::ostream & print (std::ostream &os, const std::vector< T, A > &v, const std::string &delim=",")
 Print std::vector contents to stream.


Detailed Description

Utility functions for STL containers.

Definition in file stlutil.h.


Generated on Tue Nov 5 11:11:29 2002 for GLT by doxygen1.2.18