// Copyright (c) 2017-2019 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_OPTIONAL_H #define BITCOIN_OPTIONAL_H #include #include //! Substitute for C++17 std::optional //! DEPRECATED use std::optional in new code. template using Optional = std::optional; //! Substitute for C++17 std::nullopt //! DEPRECATED use std::nullopt in new code. static auto& nullopt = std::nullopt; #endif // BITCOIN_OPTIONAL_H