diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-05-31 15:59:24 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-09-07 19:19:02 +0200 |
commit | bddae7e7ff7bb5931ed807acaef7336f2ee98476 (patch) | |
tree | c26d08835e8b6bba8faf10d14b6d81e53f4413a7 /src/util | |
parent | 498b323425d960274c40472a6a847afc1982201d (diff) | |
download | bitcoin-bddae7e7ff7bb5931ed807acaef7336f2ee98476.tar.xz |
Add util/types.h with ALWAYS_FALSE template
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/types.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 <class> +inline constexpr bool ALWAYS_FALSE{false}; + +#endif // BITCOIN_UTIL_TYPES_H |