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

◆ uint16_object

Represent a boxed uint16.

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::uint16_object.
auto stringer = [](const object& value) {return value.to_string();};
uint16 unboxed_object = 42;
uint16_object boxed_object = unboxed_object;
auto result = stringer(boxed_object);
console::write_line("result = {}", result); // Display: result = 42;
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
box_integer< uint16 > uint16_object
Represent a boxed uint16.
Definition uint16_object.h:29
uint16_t uint16
Represents a 16-bit unsigned integer.
Definition uint16.h:23