Support mapping a General Category to a General Category Group.

This commit is contained in:
Reece H. Dunn
2012-12-24 15:55:23 +00:00
parent 6e15fd6d9b
commit 349e225aae
3 changed files with 21 additions and 4 deletions
+7
View File
@@ -96,6 +96,13 @@ namespace ucd
Zs, /**< @brief Space Separator */
};
/** @brief Lookup the General Category Group for a General Category.
*
* @param c The General Category to lookup.
* @return The General Category Group of the General Category.
*/
category_group lookup_category_group(category c);
/** @brief Lookup the General Category Group for a Unicode codepoint.
*
* @param c The Unicode codepoint to lookup.