Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set
// doxy/ or-tools/ src/ base/

or-tools/src/base/stl_util.h File Reference

#include <string>

Go to the source code of this file.

Namespaces

namespace  operations_research

Functions

template<class ForwardIterator>
void operations_research::STLDeleteContainerPointers (ForwardIterator begin, ForwardIterator end)
 STLDeleteContainerPointers() For a range within a container of pointers, calls delete (non-array version) on these pointers.
template<class ForwardIterator>
void operations_research::STLDeleteContainerPairSecondPointers (ForwardIterator begin, ForwardIterator end)
 STLDeleteContainerPairSecondPointers() For a range within a container of pairs, calls delete (non-array version) on the SECOND item in the pairs.
void operations_research::STLStringResizeUninitialized (std::string *s, size_t new_size)
char * operations_research::string_as_array (std::string *str)
 Return a mutable char* pointing to a string's internal buffer, which may not be null-terminated.
template<class T>
void operations_research::STLDeleteElements (T *container)
 STLDeleteElements() deletes all the elements in an STL container and clears the container.
template<class T>
void operations_research::STLDeleteValues (T *v)
 Given an STL container consisting of (key, value) pairs, STLDeleteValues deletes all the "value" components and clears the container.