Spicy
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
Definition: result.h:18
Definition: result.h:41
Definition: result.h:57
Definition: result.h:67