veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
type_traits.hpp
1
// Copyright (c) 2019-2022 Xenios SEZC
2
// https://www.veriblock.org
3
// Distributed under the MIT software license, see the accompanying
4
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
5
6
#ifndef VERIBLOCK_POP_CPP_TYPE_TRAITS_HPP
7
#define VERIBLOCK_POP_CPP_TYPE_TRAITS_HPP
8
9
#include <type_traits>
10
11
namespace
altintegration
{
12
14
template
<
typename
T>
15
struct
IsPopPayload
{
16
static
const
bool
value =
false
;
17
};
18
19
}
// namespace altintegration
20
21
#endif
// VERIBLOCK_POP_CPP_TYPE_TRAITS_HPP
altintegration
Defines logging helpers.
Definition:
block.hpp:14
altintegration::IsPopPayload
type trait which returns true on types that are "POP Payloads"
Definition:
type_traits.hpp:15