Mercurial > hg > octave-lyh
comparison liboctave/str-vec.h @ 4587:7b957b442818
[project @ 2003-11-10 15:50:39 by jwe]
author | jwe |
---|---|
date | Mon, 10 Nov 2003 15:50:40 +0000 |
parents | dd108fa566fa |
children | 23b37da9fd5b |
comparison
equal
deleted
inserted
replaced
4586:7e08de0d1a98 | 4587:7b957b442818 |
---|---|
79 | 79 |
80 std::string operator[] (int i) const { return Array<std::string>::elem (i); } | 80 std::string operator[] (int i) const { return Array<std::string>::elem (i); } |
81 | 81 |
82 static int compare (const void *a_arg, const void *b_arg); | 82 static int compare (const void *a_arg, const void *b_arg); |
83 | 83 |
84 string_vector& qsort (bool make_unique = false) | 84 string_vector& qsort (bool make_uniq = false) |
85 { | 85 { |
86 Array<std::string>::qsort (compare); | 86 Array<std::string>::qsort (compare); |
87 | 87 |
88 if (make_unique) | 88 if (make_uniq) |
89 uniq (); | 89 uniq (); |
90 | 90 |
91 return *this; | 91 return *this; |
92 } | 92 } |
93 | 93 |