aboutsummaryrefslogtreecommitdiff
path: root/src/codepoint_iterator.h
diff options
context:
space:
mode:
authorAdrian Kummerländer2014-02-15 12:57:50 +0100
committerAdrian Kummerländer2014-02-15 12:57:50 +0100
commitd9dc09933635a62e188600c419fe42bcd03a3820 (patch)
treeb656f09231a403b68e95f76341eeabec1672b441 /src/codepoint_iterator.h
parent79a65ce58ad8f3b2b1c9eeaba4b0b4710dc09e2c (diff)
downloadCodepointIterator-d9dc09933635a62e188600c419fe42bcd03a3820.tar
CodepointIterator-d9dc09933635a62e188600c419fe42bcd03a3820.tar.gz
CodepointIterator-d9dc09933635a62e188600c419fe42bcd03a3820.tar.bz2
CodepointIterator-d9dc09933635a62e188600c419fe42bcd03a3820.tar.lz
CodepointIterator-d9dc09933635a62e188600c419fe42bcd03a3820.tar.xz
CodepointIterator-d9dc09933635a62e188600c419fe42bcd03a3820.tar.zst
CodepointIterator-d9dc09933635a62e188600c419fe42bcd03a3820.zip
Removed internal codepoint caching
* it is not the responsibility of a codepoint iterator to cache the resolved codepoint for reuse ** if this is required by the user of this class can iterate it better in the context it is required ** e.g. implement a "CachedIterator" template
Diffstat (limited to 'src/codepoint_iterator.h')
-rw-r--r--src/codepoint_iterator.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/codepoint_iterator.h b/src/codepoint_iterator.h
index 938f53d..6c8c43d 100644
--- a/src/codepoint_iterator.h
+++ b/src/codepoint_iterator.h
@@ -34,8 +34,7 @@ class CodepointIterator : public std::iterator<std::bidirectional_iterator_tag,
private:
std::string::const_iterator iterator_;
- bool dereferenced_;
- char32_t codepoint_;
+
};
class codepoint_invalid: public std::exception {