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

◆ char_object

using xtd::char_object = typedef box_char<char>

Represent a boxed char.

Header
#include <xtd/char_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::char_object.
auto stringer = [](const object& value) {return value.to_string();};
char unboxed_object = 'a';
char_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< char > char_object
Represent a boxed char.
Definition char_object.h:33