33 #ifndef GOOGLE_PROTOBUF_STUBS_STL_UTIL_H__
34 #define GOOGLE_PROTOBUF_STUBS_STL_UTIL_H__
51 template <
class ForwardIterator>
53 ForwardIterator end) {
54 while (begin != end) {
55 ForwardIterator temp = begin;
85 return str->empty() ?
NULL : &*str->begin();
100 if (!container)
return;
112 for (
typename T::iterator i = v->begin(); i != v->end(); ++i) {
121 #endif // GOOGLE_PROTOBUF_STUBS_STL_UTIL_H__
void STLDeleteElements(T *container)
Definition: stl_util.h:99
void STLStringResizeUninitialized(string *s, size_t new_size)
Definition: stl_util.h:67
arena_t NULL
Definition: jemalloc_internal.h:624
void STLDeleteContainerPointers(ForwardIterator begin, ForwardIterator end)
Definition: stl_util.h:52
char * string_as_array(string *str)
Definition: stl_util.h:83
Definition: BnetFileGenerator.h:47
void STLDeleteValues(T *v)
Definition: stl_util.h:110