QEloquent
1.1.0
Qt most flexible ORM.
Loading...
Searching...
No Matches
result.h
1
#ifndef QELOQUENT_RESULT_H
2
#define QELOQUENT_RESULT_H
3
4
#include <QEloquent/error.h>
5
6
#include <tl/expected.hpp>
7
8
namespace
QEloquent {
9
15
template
<
typename
Value,
typename
Error = Error>
16
using
Result = tl::expected<Value, Error>;
17
22
template
<
typename
Error>
23
using
failWith = tl::unexpected<Error>;
24
25
}
// namespace QEloquent
26
27
#endif
// QELOQUENT_RESULT_H
src
utils
result.h
Generated by
1.9.8