xtd 0.2.0
Loading...
Searching...
No Matches
iclonable.h
Go to the documentation of this file.
1
4#pragma once
5#include "interface.h"
6#include "object.h"
7
9namespace xtd {
20 public:
22
29 virtual std::unique_ptr<xtd::object> clone() const = 0;
31 };
32}
Supports cloning, which creates a new instance of a class with the same value as an existing instance...
Definition iclonable.h:19
virtual std::unique_ptr< xtd::object > clone() const =0
Creates a new object that is a copy of the current instance.
#define interface_
This keyword is use to represent an interface.
Definition interface.h:58
Contains xtd::interface interface.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::object class.