Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Kagome
Consensus
core
Development guide
Guide for `outcome::result<T>`
Rules
Terms
Tooling
Overview
Your first Kagome chain
Runing Kagome in docker container
Start private Kagome network
Namespaces
Classes
Files
File List
core
api
application
assets
authority_discovery
authorship
blockchain
clock
common
blob.cpp
blob.hpp
buffer.hpp
buffer_back_insert_iterator.hpp
buffer_view.hpp
empty.hpp
fd_limit.cpp
fd_limit.hpp
hexutil.cpp
hexutil.hpp
literals.hpp
monadic_utils.hpp
mp_utils.cpp
mp_utils.hpp
outcome_throw.hpp
size_limited_containers.hpp
spin_lock.cpp
spin_lock.hpp
stub.hpp
tagged.hpp
type_traits.hpp
unused.hpp
uri.cpp
uri.hpp
variant_builder.hpp
visitor.hpp
wrapper.hpp
consensus
containers
crypto
filesystem
host_api
injector
log
macro
metrics
network
offchain
outcome
parachain
primitives
runtime
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
empty.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_EMPTY
7
#define KAGOME_EMPTY
8
9
namespace
kagome
{
10
13
struct
Empty
{
14
bool
operator==
(
const
Empty
&)
const
{
15
return
true
;
16
}
17
};
18
19
template
<
class
Stream>
20
Stream
&
operator<<
(
Stream
&s,
const
Empty
&) {
21
return
s;
22
}
23
24
template
<
class
Stream>
25
Stream
&
operator>>
(
Stream
&s,
Empty
&) {
26
return
s;
27
}
28
29
}
// namespace kagome
30
31
#endif // KAGOME_EMPTY
kagome::Empty::operator==
bool operator==(const Empty &) const
Definition:
empty.hpp:14
kagome::operator>>
Stream & operator>>(Stream &s, Empty &)
Definition:
empty.hpp:25
kagome
kagome::Empty
Definition:
empty.hpp:13
kagome::network::Stream
libp2p::connection::Stream Stream
Definition:
protocol_base_impl.hpp:23
kagome::operator<<
Stream & operator<<(Stream &s, const Empty &)
Definition:
empty.hpp:20
core
common
empty.hpp
Generated by
1.8.11