[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdepim/indexlib
From: Luís Pedro Coelho <luis () luispedro ! org>
Date: 2005-10-12 11:40:19
Message-ID: 1129117219.443858.21943.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 469880 by luis_pedro:
documentation
M +5 -1 stringset.h
--- branches/KDE/3.5/kdepim/indexlib/stringset.h #469879:469880
@@ -38,6 +38,7 @@
#include <iostream>
#include <utility>
+
struct stringset {
public:
struct const_iterator : public std::iterator<STD_NAMESPACE_PREFIX \
random_access_iterator_tag,const char*> { @@ -127,7 +128,10 @@
void clear();
-
+ /**
+ * Returns std::make_pair( find( word ), find( word + 'Z' ) ) which makes it easy
+ * to implement word* searches
+ */
std::pair<const_iterator, const_iterator> upper_lower( const char* ) const;
const_iterator begin() const { return const_iterator( this, 0 ); }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic