Skip to content

Commit

Permalink
COMMON: Document Common::String::unsigned_type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Schickel committed Nov 23, 2013
1 parent 4c15e51 commit abe6d30
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/str.h
Expand Up @@ -235,6 +235,11 @@ class String {

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;
Expand Down

0 comments on commit abe6d30

Please sign in to comment.