RESTinio
Loading...
Searching...
No Matches
expected.hpp
Go to the documentation of this file.
1/*
2 restinio
3*/
4
5/*!
6 Adoption for std::expected (c++20).
7
8 @since v.0.6.1
9*/
10
11#pragma once
12
13#include <nonstd/expected.hpp>
14
15namespace restinio
16{
17 template< typename T, typename E >
18 using expected_t = nonstd::expected<T, E>;
19
20 using nonstd::make_unexpected;
21
22} /* namespace restinio */
nonstd::expected< T, E > expected_t
Definition expected.hpp:18