MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / invalid_code_point

Class invalid_code_point

external/utf8/checked.h:41–47  ·  view source on GitHub ↗

Exceptions that may be thrown from the library functions.

Source from the content-addressed store, hash-verified

39
40 // Exceptions that may be thrown from the library functions.
41 class invalid_code_point : public exception {
42 utfchar32_t cp;
43 public:
44 invalid_code_point(utfchar32_t codepoint) : cp(codepoint) {}
45 virtual const char* what() const UTF_CPP_NOEXCEPT UTF_CPP_OVERRIDE { return "Invalid code point"; }
46 utfchar32_t code_point() const {return cp;}
47 };
48
49 class invalid_utf8 : public exception {
50 utfchar8_t u8;

Callers 3

appendFunction · 0.85
append16Function · 0.85
nextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected