33 object(
const object&) =
default;
34 object& operator=(
const object&) =
default;
35 virtual ~
object() =
default;
45 virtual bool equals(
const object& obj)
const noexcept;
54 static bool equals(
const object& object_a,
const object& object_b) noexcept;
72 template<typename object_t>
73 std::unique_ptr<object_t>
memberwise_clone()
const {
return std::make_unique<object_t>(
dynamic_cast<const object_t&
>(*
this));}
93 std::ostream& operator <<(std::ostream& os, const
object& obj) noexcept;
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition: object.h:26
std::unique_ptr< object_t > memberwise_clone() const
Gets the type of the current instance.
Definition: object.h:73
static bool reference_equals(const object &object_a, const object &object_b) noexcept
Determines whether the specified object instances are the same instance.
virtual size_t get_hash_code() const noexcept
Serves as a hash function for a particular type.
virtual bool equals(const object &obj) const noexcept
Determines whether the specified object is equal to the current object.
virtual xtd::ustring to_string() const noexcept
Returns a std::string that represents the current object.
static bool equals(const object &object_a, const object &object_b) noexcept
Determines whether the specified object instances are considered equal.
object()=default
Create a new instance of the ultimate base class object.
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17