|
using | underlying_type = type_t |
|
| box ()=default |
| Initialize a new xtd::box object.
|
|
| box (const type_t &value) |
| Initialize a new xtd::box object with specified value.
|
|
template<typename ... args_t> |
| box (args_t &&...args) |
| Initialize a new xtd::box object with specified value.
|
|
const type_t & | value () const noexcept |
| Gets the underlying value.
|
|
type_t & | value () noexcept |
| Gets the underlying value.
|
|
box & | value (const type_t &value) |
| Sets de underlying value.
|
|
| operator type_t () const noexcept |
|
int32 | compare_to (const box &value) const noexcept override |
| Compares the current instance with another object of the same type.
|
|
bool | equals (const object &obj) const noexcept override |
| Determines whether the specified object is equal to the current object.
|
|
bool | equals (const box &value) const noexcept override |
| Indicates whether the current object is equal to another object of the same type.
|
|
xtd::string | to_string () const noexcept override |
| Returns a xtd::string that represents the current object.
|
|
xtd::string | to_string (const xtd::string &format) const |
| Converts the value of this instance to its equivalent string representation, using the specified format.
|
|
xtd::string | to_string (const xtd::string &format, const std::locale &loc) const override |
| Converts the value of this instance to its equivalent string representation, using the specified format, and locale.
|
|
| object ()=default |
| Create a new instance of the ultimate base class object.
|
|
virtual size_t | get_hash_code () const noexcept |
| Serves as a hash function for a particular type.
|
|
virtual type_object | get_type () const noexcept |
| Gets the type of the current instance.
|
|
template<typename object_t > |
xtd::uptr< object_t > | memberwise_clone () const |
| Creates a shallow copy of the current object.
|
|
static type_t | parse (const xtd::string &value) |
| Converts the string to its type_t equivalent.
|
|
static bool | try_parse (const xtd::string &value, type_t &result) noexcept |
| Converts the string to its type_t equivalent. A return value indicates whether the conversion succeeded or failed.
|
|
template<typename object_a_t , typename object_b_t > |
static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are considered equal.
|
|
template<typename object_a_t , typename object_b_t > |
static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are the same instance.
|
|