Loading...
Searching...
No Matches
expected.hpp
Go to the documentation of this file.
/*
restinio
*/
#pragma once
#if defined(RESTINIO_EXTERNAL_EXPECTED_LITE)
#include <nonstd/expected.hpp>
#else
#include "third_party/expected-lite/expected.hpp"
#endif
namespace restinio
{
template< typename T, typename E >
using expected_t = nonstd::expected<T, E>;
//FIXME: is this symbol actually present in expected-lite?
// using nonstd::make_expected;
using nonstd::make_unexpected;
} /* namespace restinio */
restinio
Definition: asio_include.hpp:21
restinio::expected_t
nonstd::expected< T, E > expected_t
Definition: expected.hpp:22
expected.hpp