summaryrefslogtreecommitdiffhomepage
path: root/include/unicode/utf_fwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/unicode/utf_fwd.h')
-rw-r--r--include/unicode/utf_fwd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/unicode/utf_fwd.h b/include/unicode/utf_fwd.h
index f3f6c52..c42dea1 100644
--- a/include/unicode/utf_fwd.h
+++ b/include/unicode/utf_fwd.h
@@ -2,6 +2,8 @@
// Forward declarations
+#include "types.h"
+
#include <string>
namespace unicode::detail {
@@ -19,5 +21,10 @@ namespace unicode {
template<typename InputIt, typename OutputIt>
struct UTF;
+ // Encoding for convert()
+ typedef UTF<utf_iterator<utf8_t>, utf_back_insert_iterator<utf8_t>> UTF_8;
+ typedef UTF<utf_iterator<char16_t>, utf_back_insert_iterator<char16_t>> UTF_16;
+ typedef UTF<utf_iterator<char32_t>, utf_back_insert_iterator<char32_t>> UTF_32;
+
} // namespace unicode