xtd 0.2.0
Loading...
Searching...
No Matches

◆ char8_object

using xtd::char8_object = typedef box_char<char8>

Represent a boxed char8.

Header
#include <xtd/char8_object>
Namespace
xtd
Library
xtd.core
Remarks
For more information about types, see Native types, boxing and unboxing.
Examples
The following example shows how to create and use xtd::char8_object.
auto stringer = [](const object& value) {return value.to_string();};
char8 unboxed_object = u8'a';
char8_object boxed_object = unboxed_object;
auto result = stringer(boxed_object);
console::write_line("result = {}", result); // Display: result = a;
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
char8_t char8
Represents a 8-bit unicode character.
Definition char8.h:27
box_char< char8 > char8_object
Represent a boxed char8.
Definition char8_object.h:34