aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJohannes Schickel2013-11-23 21:34:55 +0100
committerJohannes Schickel2013-11-23 21:34:55 +0100
commitabe6d30f36cdfaef3c7ce7a5c8a48f4d4986d718 (patch)
tree1f50e107ada4d34e69d0598f2de65c5c6648a6f1 /common
parent4c15e51ab540abb4843268921bdd0d27c6e0f9bb (diff)
downloadscummvm-rg350-abe6d30f36cdfaef3c7ce7a5c8a48f4d4986d718.tar.gz
scummvm-rg350-abe6d30f36cdfaef3c7ce7a5c8a48f4d4986d718.tar.bz2
scummvm-rg350-abe6d30f36cdfaef3c7ce7a5c8a48f4d4986d718.zip
COMMON: Document Common::String::unsigned_type.
Diffstat (limited to 'common')
-rw-r--r--common/str.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/str.h b/common/str.h
index 2ad2626dc1..ea2db1d1d6 100644
--- a/common/str.h
+++ b/common/str.h
@@ -235,6 +235,11 @@ public:
public:
typedef char value_type;
+ /**
+ * Unsigned version of the underlying type. This can be used to cast
+ * individual string characters to bigger integer types without sign
+ * extension happening.
+ */
typedef unsigned char unsigned_type;
typedef char * iterator;
typedef const char * const_iterator;