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

◆ int64_object

Represent a boxed int64.

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::int64_object.
auto stringer = [](const object& value) {return value.to_string();};
int64 unboxed_object = 42;
int64_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...
int64_t int64
Represents a 64-bit signed integer.
Definition int64.h:23
box_integer< int64 > int64_object
Represent a boxed int64.
Definition int64_object.h:29