summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/cpp/include/ICU4XDecomposed.hpp
blob: 5628ae2be9f797baf301d03361121a2b5240358e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef ICU4XDecomposed_HPP
#define ICU4XDecomposed_HPP
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <algorithm>
#include <memory>
#include <variant>
#include <optional>
#include "diplomat_runtime.hpp"

#include "ICU4XDecomposed.h"



/**
 * The outcome of non-recursive canonical decomposition of a character.
 * `second` will be NUL when the decomposition expands to a single character
 * (which may or may not be the original one)
 * 
 * See the [Rust documentation for `Decomposed`](https://docs.rs/icu/latest/icu/normalizer/properties/enum.Decomposed.html) for more information.
 */
struct ICU4XDecomposed {
 public:
  char32_t first;
  char32_t second;
};


#endif