xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
iclonable.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
interface.hpp
"
6
#include "
object.hpp
"
7
9
namespace
xtd
{
21
class
iclonable
interface_
{
22
public
:
24
31
[[nodiscard]]
virtual
auto
clone
() const ->
xtd
::
uptr
<
xtd
::
object
> = 0;
33
};
34
}
xtd::iclonable
Supports cloning, which creates a new instance of a class with the same value as an existing instance...
Definition
iclonable.hpp:21
xtd::iclonable::clone
virtual auto clone() const -> xtd::uptr< xtd::object >=0
Creates a new object that is a copy of the current instance.
interface_
#define interface_
This keyword is use to represent an interface.
Definition
interface.hpp:58
xtd::uptr
xtd::unique_ptr_object< type_t > uptr
The xtd::uptr object is a unique pointer.
Definition
uptr.hpp:25
interface.hpp
Contains xtd::interface interface.
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
object.hpp
Contains xtd::object class.
Generated on
for xtd by
Gammasoft
. All rights reserved.