PRCYCoin
2.0.0.7rc1
P2P Digital Currency
src
optional.h
Go to the documentation of this file.
1
// Copyright (c) 2017 The Bitcoin Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#ifndef BITCOIN_OPTIONAL_H
6
#define BITCOIN_OPTIONAL_H
7
8
#include <boost/optional.hpp>
9
11
template
<
typename
T>
12
using
Optional
= boost::optional<T>;
13
15
static
auto
& nullopt = boost::none;
16
17
#endif // BITCOIN_OPTIONAL_H
Optional
boost::optional< T > Optional
Substitute for C++17 std::optional.
Definition:
optional.h:12
Generated on Tue Apr 28 2026 00:02:52 for PRCYCoin by
1.8.17