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

◆ size_object

using xtd::size_object = typedef box_integer<size_t>

Represent a boxed size_t.

Namespace
xtd
Library
xtd.core
Examples
The following example shows how to create and use xtd::size_object.
auto stringer = [](const object& value) {return value.to_string();};
size_t unboxed_object = 42;
size_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< size_t > size_object
Represent a boxed size_t.
Definition size_object.h:25