Add util/types.h with ALWAYS_FALSE template
This commit is contained in:
1 parent
498b323425
commit
bddae7e7ff
2 files changed
+12
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user