tetengo 1.8.2
A multipurpose library set
Loading...
Searching...
No Matches
east_asian_characX.hpp
Go to the documentation of this file.
1
7#if !defined(TETENGO_TEXT_GRAPHEMESPLITTING_EASTASIANCHARACTERWIDTH_HPP)
8#define TETENGO_TEXT_GRAPHEMESPLITTING_EASTASIANCHARACTERWIDTH_HPP
9
10#include <cstddef>
11#include <memory>
12
14
15
17{
22 {
23 public:
24 // static functions
25
31 [[nodiscard]] static const east_asian_character_width& instance();
32
33
34 // constructors and destructor
35
40
41
42 private:
43 // tyeps
44
45 class impl;
46
47
48 // variables
49
50 const std::unique_ptr<impl> m_p_impl;
51
52
53 // constructors
54
56
57
58 // virtual functions
59
60 virtual std::size_t width_of_impl(class_type class_, emoji_type emoji) const;
61 };
62
63
64}
65
66
67#endif
A character width.
A character width.
Definition character_width.hpp:21
class_type
A class.
Definition character_width.hpp:27
emoji_type
An emoji.
Definition character_width.hpp:38
An east Asian character width.
Definition east_asian_characX.hpp:22
virtual ~east_asian_character_width()
Destroys the character width.
static const east_asian_character_width & instance()
Returns the instance.
A grapheme splitting library.