Skip to content

Commit

Permalink
introduce expected.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
daquexian committed Nov 21, 2019
1 parent 66f9a2b commit 3c82a70
Show file tree
Hide file tree
Showing 2 changed files with 2,331 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/common/data_types.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
#include <common/optional.h>
#include <common/expected.hpp>

namespace dnn {
using nonstd::bad_optional_access;
using nonstd::optional;
using nonstd::make_optional;
using nonstd::nullopt;
using nonstd::nullopt_t;
using tl::expected;
using tl::make_unexpected;
using tl::monostate;
using tl::unexpected;
}
Loading

0 comments on commit 3c82a70

Please sign in to comment.