xtd 0.2.0

◆ char32_object

Represent a boxed char32.

Header
#include <xtd/char32_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::char32_object.
auto stringer = [](const object& value) {return value.to_string();};
char32 unboxed_object = U'a';
char32_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...
box_char< char32 > char32_object
Represent a boxed char32.
Definition char32_object.h:33
char32_t char32
Represents a 32-bit unicode character.
Definition char32.h:26