From bddae7e7ff7bb5931ed807acaef7336f2ee98476 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Mon, 31 May 2021 15:59:24 +0200 Subject: Add util/types.h with ALWAYS_FALSE template --- src/util/types.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/util/types.h (limited to 'src/util') diff --git a/src/util/types.h b/src/util/types.h new file mode 100644 index 0000000000..0047b00026 --- /dev/null +++ b/src/util/types.h @@ -0,0 +1,11 @@ +// Copyright (c) 2021 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + +#ifndef BITCOIN_UTIL_TYPES_H +#define BITCOIN_UTIL_TYPES_H + +template +inline constexpr bool ALWAYS_FALSE{false}; + +#endif // BITCOIN_UTIL_TYPES_H -- cgit v1.2.3