Spicy
hilti
toolchain
include
base
result.h
1
// Copyright (c) 2020-2021 by the Zeek Project. See LICENSE for details.
2
3
#pragma once
4
5
#include <hilti/rt/result.h>
6
7
namespace
hilti
{
8
namespace
result {
9
using
Error =
hilti::rt::result::Error
;
10
using
NoResult =
hilti::rt::result::NoResult
;
11
}
// namespace result
12
13
template
<
typename
T>
14
using
Result =
hilti::rt::Result<T>
;
15
16
using
Nothing =
hilti::rt::Nothing
;
17
18
}
// namespace hilti
hilti::rt::result::Error
Definition:
result.h:18
hilti::rt::result::NoResult
Definition:
result.h:41
hilti
hilti::rt::Nothing
Definition:
result.h:57
hilti::rt::Result
Definition:
result.h:67
Generated by
1.8.13