Add util/types.h with ALWAYS_FALSE template

pull/22904/head
MarcoFalke 4 years ago committed by Jon Atack
parent 498b323425
commit bddae7e7ff
No known key found for this signature in database
GPG Key ID: 4F5721B3D0E3921D

@ -268,6 +268,7 @@ BITCOIN_CORE_H = \
util/tokenpipe.h \
util/trace.h \
util/translation.h \
util/types.h \
util/ui_change_type.h \
util/url.h \
util/vector.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 <class>
inline constexpr bool ALWAYS_FALSE{false};
#endif // BITCOIN_UTIL_TYPES_H
Loading…
Cancel
Save