u5e
UnicodeTextC++Library
codepoint_traits.hpp
1 #ifndef INCLUDED_U5E_CODEPOINT_TRAITS
2 #define INCLUDED_U5E_CODEPOINT_TRAITS
3 
4 #include <inttypes.h>
5 
6 namespace u5e {
7  /**
8  * \brief Type information for codepoint
9  *
10  * This class exists only to provide an interface similar to that of
11  * the stream and string types. But it is not truly parameterizable,
12  * since a codepoint always means the same thing.
13  */
15  public:
16  //@{
17  /**
18  * Basic meta-description of a codepoint
19  */
20  typedef int32_t int_type;
21  typedef uint32_t pos_type;
22  typedef int32_t off_type;
23  //@}
24  };
25 }
26 
27 #endif
main u5e namespace
Type information for codepoint.