Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
non_copyable.hpp
Go to the documentation of this file.
1
#pragma once
2
3
class
NonCopyable
{
4
public
:
5
NonCopyable
(
NonCopyable
const
&) =
delete
;
6
NonCopyable
&
operator=
(
NonCopyable
const
&) =
delete
;
7
8
protected
:
9
NonCopyable
() =
default
;
10
~NonCopyable
() =
default
;
11
};
12
13
class
NonMovable
{
14
public
:
15
NonMovable
(
NonMovable
&&) =
delete
;
16
NonMovable
&
operator=
(
NonMovable
&&) =
delete
;
17
18
protected
:
19
NonMovable
() =
default
;
20
~
NonMovable
() =
default
;
21
};
NonCopyable
Definition:
non_copyable.hpp:3
NonMovable
Definition:
non_copyable.hpp:13
NonCopyable::~NonCopyable
~NonCopyable()=default
NonCopyable::operator=
NonCopyable & operator=(NonCopyable const &)=delete
NonCopyable::NonCopyable
NonCopyable()=default
core
utils
non_copyable.hpp
Generated by
1.8.11