summaryrefslogtreecommitdiffhomepage
path: root/include/unicode/utf_fwd.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2022-01-02 15:02:59 +0100
committerRoland Reichwein <mail@reichwein.it>2022-01-02 15:02:59 +0100
commitac045216d6e7fcb0ec4d2169ac2b6dffbe21707a (patch)
tree1403ee320ad364ca9f0e15e8f64cf2a864ef0b4a /include/unicode/utf_fwd.h
parentc969cddf87a2c6d2eb74353f3115a70d166136e5 (diff)
Remove dead code from optimizations
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