Switch to unified view
a/src/common/textsplit.h | b/src/common/textsplit.h | ||
---|---|---|---|
... |
... |
||
17 | #ifndef _TEXTSPLIT_H_INCLUDED_ |
17 | #ifndef _TEXTSPLIT_H_INCLUDED_ |
18 | #define _TEXTSPLIT_H_INCLUDED_ |
18 | #define _TEXTSPLIT_H_INCLUDED_ |
19 | 19 | ||
20 | #include <string> |
20 | #include <string> |
21 | #include <list> |
21 | #include <list> |
22 | |||
22 | #ifndef NO_NAMESPACES |
23 | #ifndef NO_NAMESPACES |
23 | using std::string; |
24 | using std::string; |
24 | using std::list; |
25 | using std::list; |
25 | #endif |
26 | #endif |
26 | 27 | ||
27 | class Utf8Iter; |
28 | class Utf8Iter; |
28 | |||
29 | 29 | ||
30 | /** |
30 | /** |
31 | * Split text into words. |
31 | * Split text into words. |
32 | * See comments at top of .cpp for more explanations. |
32 | * See comments at top of .cpp for more explanations. |
33 | * This uses a callback function. It could be done with an iterator instead, |
33 | * This uses a callback function. It could be done with an iterator instead, |