21 class t_stdvector :
public std::vector<T>
25 t_stdvector(
size_t a_size) :
std::vector<T>(a_size) {}
28 std::sort((*this).begin(), (*this).end());
30 template <
class Compare>
31 void sort(Compare compare)
33 std::sort((*this).begin(), (*this).end(), compare);
35 bool includes(t_stdvector &a_other)
38 typename std::vector<T>::iterator,
39 typename std::vector<T>::iterator >
40 ( (*this).begin(), (*this).end(),
41 a_other.begin(), a_other.end());
46 class t_stdstring :
public std::string
50 t_stdstring(
const char * a_string) :
std::string(a_string) {}
51 t_stdstring(
const char * a_string,
int a_i) :
std::string(a_string, a_i) {}
52 t_stdstring(
size_t a_size,
char a_c) :
std::string(a_size, a_c) {}
53 t_stdstring(
const t_stdstring &a_other) :
std::string(a_other) {}
54 t_stdstring(
const std::string &a_other) :
std::string(a_other) {}
55 t_stdstring &operator = (
const t_stdstring &a_other)
57 std::string::operator=(a_other);
63 class t_stdlist :
public std::list<T>
67 t_stdlist(
const t_stdlist<T> &a_other) :
std::list<T>(a_other) {}
68 t_stdlist(
const std::list<T> &a_other) :
std::list<T>(a_other) {}
69 t_stdlist<T> &operator = (
const t_stdlist<T> &a_other)
71 std::list<T>::operator=(a_other);
76 template <
typename K,
typename V>
77 class t_stdmap :
public std::map<K,V>
81 t_stdmap(
const t_stdmap<K,V> &a_other) :
std::map<K,V>(a_other) {}
82 t_stdmap(
const std::map<K,V> &a_other) :
std::map<K,V>(a_other) {}
83 t_stdmap<K,V> &operator = (
const t_stdmap<K,V> &a_other)
85 std::map<K,V>::operator=(a_other);
91 class t_stdostringstream :
public std::ostringstream
94 t_stdostringstream(
void) {}
97 class t_stdistringstream :
public std::istringstream
100 t_stdistringstream(
void) {}
101 t_stdistringstream(
const t_stdstring &a_string) :
std::istringstream(a_string) {}
105 typedef double t_eval_real;
kernel
Definition: namespace.dox:3
Definition: gtest-internal.h:1322