RESTinio
restinio
expected.hpp
Go to the documentation of this file.
1
/*
2
restinio
3
*/
4
11
#pragma once
12
13
#if defined(RESTINIO_EXTERNAL_EXPECTED_LITE)
14
#include <nonstd/expected.hpp>
15
#else
16
#include "
third_party/expected-lite/expected.hpp
"
17
#endif
18
19
namespace
restinio
20
{
21
template
<
typename
T,
typename
E >
22
using
expected_t
= nonstd::expected<T, E>;
23
24
//FIXME: is this symbol actually present in expected-lite?
25
// using nonstd::make_expected;
26
using
nonstd::make_unexpected;
27
28
}
/* namespace restinio */
29
restinio
Definition:
asio_include.hpp:21
restinio::expected_t
nonstd::expected< T, E > expected_t
Definition:
expected.hpp:22
expected.hpp
Generated by
1.9.3