8 #include "core_export.h" 41 object(
const object&) =
default;
42 object& operator=(
const object&) =
default;
43 virtual ~
object() =
default;
56 virtual bool equals(
const object& obj)
const noexcept;
65 static bool equals(
const object& object_a,
const object& object_b) noexcept;
69 virtual size_t get_hash_code()
const noexcept;
83 template<
typename object_t>
84 std::unique_ptr<object_t>
memberwise_clone()
const {
return std::make_unique<object_t>(
dynamic_cast<const object_t&
>(*this));}
93 static bool reference_equals(
const object& object_a,
const object& object_b) noexcept;
105 std::ostream& operator <<(std::ostream& os,
const object& obj) noexcept;
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:50
std::string to_string(const date_time &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: date_time.h:1110
std::unique_ptr< object_t > memberwise_clone() const
Gets the type of the current instance.
Definition: object.h:84
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes...
Definition: object.h:30