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

◆ char16_object

Represent a boxed char16.

Header
#include <xtd/char16_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::char16_object.
auto stringer = [](const object& value) {return value.to_string();};
char16 unboxed_object = u'a';
char16_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...
char16_t char16
Represents a 16-bit unicode character.
Definition char16.h:26
box_char< char16 > char16_object
Represent a boxed char16.
Definition char16_object.h:33
@ u
The U key.