Definition at line 123 of file spair.cpp.
124{
125
126 if (g == nullptr) return f;
127 if (f == nullptr) return g;
128 s_pair head;
130 while (1)
switch (
compare(f, g))
131 {
132 case 1:
136 if (g == nullptr)
137 {
140 }
141 break;
142 case -1:
143 case 0:
147 if (f == nullptr)
148 {
151 }
152 break;
153 }
154}
int compare(s_pair *f, s_pair *g) const
VALGRIND_MAKE_MEM_DEFINED & result(result)
References compare(), s_pair::next, and result().
Referenced by insert(), insert(), and sort_list().