Shows hows how to use xtd::object::reference_equals static method.
#include <xtd/console>
auto main() -> int {
object* o = nullptr;
object* p = null;
console::write_line(object::reference_equals(*o, *p));
p = q;
console::write_line(object::reference_equals(*p, *q));
console::write_line(object::reference_equals(*o, *p));
delete q;
}
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:42
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10