RESTinio

optional.hpp
Go to the documentation of this file.
1/*
2 restinio
3*/
4
11#pragma once
12
13#if defined(RESTINIO_EXTERNAL_OPTIONAL_LITE)
14 #include <nonstd/optional.hpp>
15#else
16 #include "third_party/optional-lite/optional.hpp"
17#endif
18
19 namespace restinio
20{
21 template< class T >
22 using optional_t = nonstd::optional< T >;
23
24 using nonstd::nullopt;
25 using nonstd::nullopt_t;
26
27} /* namespace restinio */
nonstd::optional_lite::optional
class optional
Definition: optional.hpp:919
nonstd::optional_lite::nullopt
const nullopt_t nullopt((nullopt_t::init()))
restinio
Definition: asio_include.hpp:21
nonstd::optional_lite::nullopt_t
disengaged state tag
Definition: optional.hpp:890
optional.hpp